QC Cashbox Details

@php $store_name = $resell_invoice[0]->resellbox_unload->unload_store->name; @endphp

QC {{$store_name .' - '. \Carbon\Carbon::parse($resell_invoice[0]->resellbox_unload->unload_date)->format('d-m-Y') }}

{{--

The Palace TSM Cibubur - 20 Januari 2022

--}}
Item List
@php $no = 1; @endphp @foreach($resell_invoice as $key => $data_invoice) @foreach($data_invoice->invoice_detail as $key => $detail) @php $label = 'default'; switch ($detail->qc_status) { case null: $label = 'danger'; break; case 'in_progress': $label = 'warning'; break; case 'done': $label = 'success'; break; case 'moved_central': $label = 'warning'; break; case 'unloaded': $label = 'default'; break; case 'refinery': $label = 'info'; break; } $checked_carat =''; $checked_weight =''; $checked_year =''; if ($detail->item_carat_id == $detail->actual_item_carat_id) { $checked_carat ='checked'; } if ($detail->weight == $detail->actual_weight) { $checked_weight ='checked'; } if ($detail->year == $detail->actual_year) { $checked_year ='checked'; } $inv_attr = $data_invoice->invoice.'
'.$data_invoice->customer_name.'
(Rp.'.number_format($detail->price,2).')
'; @endphp @if(!in_array($qc_status,['uncompleted','in_progress'])) @else {{-- year --}} {{-- year input --}} @endif @endforeach @endforeach
No. Invoice Appraisal Name Item Description Weight Actual Weight Tahun Resell Tahun Resell Fisik Tahun Fisik Carat Note Preloved/ Lebur Actual Carat Comment Unload Date Last Update Qc Status
{{ $no++ }} {!! $inv_attr !!} {{ $data_invoice->ae_by ? $data_invoice->ae_by->name : '-' }} {{ $detail->item_type->type.' ('.$detail->item_brand->brand_name.')' }} @if($detail->plu)
PLU : {{ $detail->plu }}
@endif @if($detail->new_item_plu)
NEW PLU : {{ $detail->new_item_plu->plu_new }}
@endif
{{ $detail->weight }} {{ $detail->actual_weight }} {{ $detail->year }} {{ $detail->tahun_fisik ? $detail->tahun_fisik : '' }} {{ $detail->actual_year }} {{ $detail->item_carat ? $detail->item_carat->carat_text : '-' }} {{ $detail->refinery_item_type ? $detail->refinery_item_type : '-' }} {{ $detail->is_preloved }} {{ $detail->actual_item_carat ? $detail->actual_item_carat->carat_text : '-' }} {{ $detail->unload_comment }} {{ $data_invoice->resellbox_unload ? $data_invoice->resellbox_unload->unload_date : '-' }} {{ $detail->qc_by ? $detail->qc_by->name : '-' }}
{{ $no++ }} {!! $inv_attr !!} {{ $data_invoice->ae_by ? $data_invoice->ae_by->name : '-' }} {{ $detail->item_type->type.' ('.$detail->item_brand->brand_name.')' }} @if($detail->plu)
PLU : {{ $detail->plu }}
@endif @if($detail->new_item_plu)
NEW PLU : {{ $detail->new_item_plu->plu_new }}
@endif
{{ $detail->weight }}
{{ $detail->year }} {{ $detail->tahun_fisik ? $detail->tahun_fisik : '' }}
{{ $detail->item_carat->carat_text }}
{{ $data_invoice->resellbox_unload->unload_date }} {{ $detail->qc_by ? $detail->qc_by->name : '-' }}