{{-- Header (mirrors the Reservations list header) --}}
Freight Loads
@if(session('success'))
{{-- Loads table --}}
{{ session('success') }}
@endif
{{-- Status tabs (same look as the Reservations tabs) --}}
| Ref | Client | Title | Equipment | Pickup | Drop-off | Pickup Date | Distance | Rate | Status |
|---|---|---|---|---|---|---|---|---|---|
| {{ $load->reference_no }} | {{ optional($load->client)->company_name ?: optional($load->client)->contact_name ?: '—' }} | {{ $load->title }} | @if($load->equipment_type) {{ $load->equipment_type }} @else — @endif | {{ $load->pickup_location }} | {{ $load->dropoff_location }} | {{ $load->pickup_date ? $load->pickup_date->format('d M Y') : '—' }} | {{ $load->distance_miles ? $load->distance_miles . ' mi' : '—' }} | {{ $load->rate_offer ? '$' . number_format($load->rate_offer, 2) : '—' }} | {{ $load->status_label }} |
| No loads found{{ request('status') ? ' for this status' : '' }}. | |||||||||
Loads are posted by freight clients at /freight-client.