LO#. {{ $loading_order->id }}
{{--*/ $loading_order_date = \Carbon\Carbon::parse($loading_order->date) /*--}} TAREHE:{{$loading_order_date->day}} / {{$loading_order_date->month}} / {{$loading_order_date->year}}

LOADING ORDER - {{ $loading_order->client->name }}

{{--{{dump($loading_order->loadingOrderItems()->get()->lists('id')->toArray())}}--}} @if($cargo_type == 'TANKERS') {{----}} {{----}} @else @endif {{--*/ $i= 1 /*--}} @forelse($loading_order->loadingOrderItems as $index => $lo_item) @if(isset($lo_item->loadingOrderVehicle->id)) {{--*/ $lo_vehicle = $lo_item->loadingOrderVehicle /*--}} {{--*/ $color = $lo_item->is_cancelled ? '#CFCFCF' : '' /*--}} @if(!$lo_item->is_cancelled) @if($cargo_type == 'TANKERS') {{----}} {{----}} @else @endif @endif @else @endif @empty @endforelse
S/N VEHICLE & CARGO DETAILS DRIVER DETAILS
TRUCK TRAILER TRUCK CHASIS TRAILER CHASIS PRODUCTCAPACITYPMS VolumeAGO VolumeCONTAINERNAME PASSPORT LICENCE DESTINATION
{{ $i++ }} {{ isset($lo_vehicle->vehicle->registration_number) ? $lo_vehicle->vehicle->registration_number : '' }} {{ isset($lo_vehicle->trailer->registration_number) ? $lo_vehicle->trailer->registration_number : '' }} {{ isset($lo_vehicle->trailer->registration_number) ? $lo_vehicle->vehicle->chassis_number : '' }} {{ isset($lo_vehicle->trailer->registration_number) ? $lo_vehicle->trailer->chassis_number : '' }} {{ $lo_item->product_name }} @if($lo_vehicle->getLoadingCapacity($lo_item->product_id)){{ number_format($lo_vehicle->getLoadingCapacity($lo_item->product_id))}} @endif --}} {{--@if($lo_vehicle->getLoadingCapacity(2)){{ number_format($lo_vehicle->getLoadingCapacity(2))}} @endif--}} {{----}} {{--@if($lo_vehicle->getLoadingCapacity(1)){{ number_format($lo_vehicle->getLoadingCapacity(1))}} @endif--}} {{--{{ isset($lo_vehicle->driver->full_name) ? $lo_vehicle->driver->full_name : null }} {{ isset($lo_vehicle->driverPassport) ? $lo_vehicle->driverPassport->number : null }} {{ $lo_vehicle->driver_licence }} {{ $lo_item->loadingOrderDestination->city->name }}
No data found!