@php $store_hub_name = $get_data->store_hub_name; if((int) is_array($store_hub_name)) { $store_hub_name = implode($store_hub_name); } @endphp
{{-- butik-lakuemas-logo --}} QC Report
QC  : {{ $get_qc->qc_by_name }}
Hub  : {{ $store_hub_name }}
Date QC  : {{ $get_qc->qc_at }}

@php $total_act_berat = 0; @endphp @foreach($get_data->store_resell_invoice as $key => $invoice) @foreach($invoice->detail as $key2 => $detail) @php $total_act_berat += $detail->actual_weight; @endphp @endforeach @endforeach
TGL NOTA TOKO NO.NOTA NAMA CUSTOMER NOTE PLU TYPE KARAT BERAT STATUS COMMENT PRELOVED/LEBUR
INV AKTUAL INV AKTUAL
 
{{ $invoice->invoice_date ? \Carbon\Carbon::parse($invoice->invoice_date)->format('d/m/Y') : '-' }} {{ $invoice->store ? $invoice->store->name : '-'}} {{ $invoice->invoice ?? '-' }} {{ $invoice->customer_name }} {{ $detail->refinery_item_type ? $detail->refinery_item_type : '-' }} {{ $detail->plu ? : '-' }} {{ $detail->item_type ? $detail->item_type->type : '-' }} {{ $detail->item_carat ? $detail->item_carat->carat_text : '-'}} {{ $detail->actual_item_carat ? $detail->actual_item_carat->carat_text : '-' }} {{ $detail->weight }} {{ $detail->actual_weight ?? '-' }} {{ $detail->qc_status ?? 'uncompleted' }} {{ $detail->comment ?? '-' }} {{ $detail->is_preloved }}
TOTAL GR     {{ $total_act_berat }}