Dokumen Pengeluaran Barang

Stock Out Document

No. Dokumen : {{ $document->out_doc_no }}
Tanggal : {{ \Carbon\Carbon::parse($document->out_date)->format('d F Y') }}
Tipe : @php $typeClass = match($document->out_type_id) { 'PRODUCTION' => 'type-production', 'RETURN_VENDOR' => 'type-return', 'SCRAP' => 'type-scrap', default => 'type-default' }; @endphp {{ $document->out_type_name ?? $document->out_type_id }}
Catatan : {{ $document->remarks ?? '-' }}
@if($document->vendor_id)
Vendor : {{ $document->vendor_name ?? $document->vendor_id }}
@endif
PIC Pengirim : {{ $document->pic_pengirim_name ?? '-' }}
PIC Penerima : {{ $document->pic_penerima_name ?? '-' }}
Dibuat Oleh : {{ $document->user_create }}
Waktu Dibuat : {{ \Carbon\Carbon::parse($document->time_create)->format('d/m/Y H:i') }}
@php $totalBerat = 0; @endphp @foreach($items as $index => $item) @php $totalBerat += $item->berat ?? 0; @endphp @endforeach
No No. Bag Material Lokasi Terakhir Berat (kg)
{{ $index + 1 }} {{ $item->bag_no ?? '-' }}
{{ $item->material_name ?? '-' }}
{{ $item->material_id ?? '-' }}
{{ $item->layout_name ?? '-' }}
{{ $item->warehouse_name ?? '-' }}
{{ number_format($item->berat ?? 0, 2) }}
TOTAL {{ number_format($totalBerat, 2) }}