@extends('documents.procurement._layout', [ 'documentTitle' => 'Packing / Loading List', 'reference' => $shipment->shipment_reference, 'documentDate' => now()->format('d M Y'), ]) @section('header-meta')
Mode: {{ strtoupper($shipment->mode) }}
@if($shipment->originPort && $shipment->destinationPort)
{{ $shipment->originPort->code }} → {{ $shipment->destinationPort->code }}
@endif @endsection @section('content') {{-- Key identifiers --}} @if($shipment->container_number) @endif @if($shipment->bill_of_lading_number) @endif
Container {{ $shipment->container_number }}
Bill of Lading {{ $shipment->bill_of_lading_number }}
Origin {{ $shipment->originPort?->name ?? '—' }}
Destination {{ $shipment->destinationPort?->name ?? '—' }}
{{-- Item list --}} @foreach($shipment->items as $i => $item) @endforeach {{-- Blank rows for handwritten additions --}} @for($j = 0; $j < 3; $j++) @endfor
# Product Name SKU / Code Qty Shipped UoM Physical Count
{{ $i + 1 }} {{ $item->sourcingTripItem?->product?->name ?? '—' }} {{ $item->sourcingTripItem?->product?->sku ?? '—' }} {{ number_format($item->quantity_shipped, 0) }} {{ $item->quantity_uom ?? $item->sourcingTripItem?->product?->uom ?? '—' }}
Total Items {{ $shipment->items->sum('quantity_shipped') }}
{{-- Signature block --}}
Driver / Loader Sign-Out
Name: ___________________________
Date: ___________________________
Signature: ______________________
Warehouse Manager Sign-In
Name: ___________________________
Date: ___________________________
Signature: ______________________
@endsection