@extends('documents.procurement._layout', [ 'documentTitle' => 'Haulage / Delivery Note', 'reference' => $shipment->shipment_reference, 'documentDate' => now()->format('d M Y'), ]) @section('header-meta')
No haulage records have been created for this shipment yet.
@else @foreach($shipment->haulageRecords as $idx => $haul) @if($idx > 0) @endif {{-- Haulage header --}}| Haulage Company | {{ $haul->haulageCompany->name }} |
| Driver Name | {{ $haul->driver_name }} |
| Driver Contact | {{ $haul->driver_contact }} |
| Vehicle Registration | {{ $haul->vehicle_registration }} |
| Waybill Number | {{ $haul->external_waybill_number }} |
| From (Origin) | To (Destination Warehouse) | Departure Date | Arrival Date | Status |
|---|---|---|---|---|
| {{ $haul->originPort?->name ?? '—' }} @if($haul->originPort?->code) ({{ $haul->originPort->code }}) @endif | {{ $haul->destinationLocation?->name ?? '—' }} | {{ $haul->departure_date ? \Carbon\Carbon::parse($haul->departure_date)->format('d M Y') : '—' }} | {{ $haul->arrival_date ? \Carbon\Carbon::parse($haul->arrival_date)->format('d M Y') : '—' }} | {{ ucwords(str_replace('_', ' ', $haul->status ?? '')) }} |
| # | Product | SKU | Qty Shipped | UoM | Received |
|---|---|---|---|---|---|
| {{ $i + 1 }} | {{ $item->sourcingTripItem?->product?->name ?? '—' }} | {{ $item->sourcingTripItem?->product?->sku ?? '—' }} | {{ number_format($item->quantity_shipped, 0) }} | {{ $item->quantity_uom ?? $item->sourcingTripItem?->product?->uom ?? '—' }} |
|
Driver Sign-Out
Name: ___________________________ Date: ___________________________ Signature: ______________________ |
Warehouse Manager Sign-In
Name: ___________________________ Date: ___________________________ Signature: ______________________ |