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') @endif @if($cargo_type == 'TANKERS') {{----}} {{----}} @else @endif @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($cargo_type == 'TANKERS') {{----}} {{----}} @else @endif @else @endif @empty @endforelse
S/N VEHICLE & CARGO DETAILS DRIVER DETAILS
TRUCK TRAILERTRUCK CHASIS TRAILER CHASISPRODUCTCAPACITYPMS VolumeAGO VolumeCONTAINERNAME PASSPORT LICENCE DESTINATION
{{ ++$index }} {{ isset($lo_vehicle->vehicle->registration_number) ? $lo_vehicle->vehicle->registration_number : '' }} {{ isset($lo_vehicle->trailer->registration_number) ? $lo_vehicle->trailer->registration_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!