@extends('layouts.admin') @section('title', 'Booking '.$booking->reference()) @section('content') @php $canJobs = auth()->user()->hasPermission('transport.manage_jobs'); @endphp
Showing verified vehicles of active operators that can carry {{ $booking->total_weight_kg ? indian_number($booking->total_weight_kg).' kg' : 'the load' }} and are free from {{ ist($window[0], 'd M h:i A') }} to {{ ist($window[1], 'h:i A') }}.
@if ($vehicles->isEmpty())| Material | Packaging | Packages | Each | Total | Needs |
|---|---|---|---|---|---|
| {{ $i->material_name }} {{ $i->materialType?->label }} | {{ $i->packagingType?->label ?? '—' }} | {{ $i->package_count ?? '—' }} | {{ $i->weight_per_package_kg ? (float) $i->weight_per_package_kg.' kg' : '—' }} | {{ indian_number($i->total_weight_kg) }} kg | {{ collect([$i->requires_cover ? 'Cover' : null, $i->requires_refrigeration ? 'Cold' : null])->filter()->join(', ') ?: '—' }} |
| Total weight | {{ indian_number($booking->total_weight_kg) }} kg | ||||
| {{ $a->vehicle?->registration_number }} | {{ $a->driver?->displayName() }} | {{ ist($a->assigned_at) }} by {{ $a->assignedBy?->displayName() ?? 'system' }} | {!! $a->is_current ? 'Current' : 'Released '.e(ist($a->released_at)).' — '.e($a->release_reason) !!} |
{{ $booking->vehicle_registration_snapshot }}