DIESEL ISSUED REPORT
TRUCK LOADING BETWEEN {{ \Carbon\Carbon::parse($date[0])->toFormattedDateString() }} TO {{ \Carbon\Carbon::parse($date[1])->toFormattedDateString() }}


{{----}} {{----}} {{--*/ $total_diesel = 0 /*--}} {{--*/ $gin_loading_diesel = 0 /*--}} {{--*/ $gin_upcountry_diesel = 0 /*--}} @foreach($loading_order_items as $index=>$loading_order_item) {{--*/ $gin_loading_diesel += $loading_order_item->getGinLoadingDiesel() /*--}} {{--*/ $gin_upcountry_diesel += $loading_order_item->getGinUpcountryDiesel() /*--}} {{--*/ $used_diesel = $loading_order_item->getGinLoadingDiesel() +$loading_order_item->getGinUpcountryDiesel() /*--}} {{--*/ $used_diesel_upcountry = $loading_order_item->getGinUpcountryDiesel() /*--}} {{--*/ $allocated_diesel = $loading_order_item->allocated_fuel + 200 /*--}} {{----}} {{----}} {{----}} @endforeach
# LOADING DETAILS DIESEL (Lts)
SN Loading # Loading Date Vehicles Destination Allocated Loading Upcountry (GIN)Upcountry Diesel (GRN)Return DieselTotal Balance
{{++$index}} is_note_cancelled) bgcolor="#FF0000" @endif>{{$loading_order_item->id}} {{\Carbon\Carbon::parse($loading_order_item->date)->toFormattedDateString()}} {{$loading_order_item->loadingOrderVehicle->vehicle->registration_number}} @if($loading_order_item->cargo_type == 'CONTAINERS') (C) @elseif($loading_order_item->cargo_type == 'TANKERS') (T) @else (L) @endif {{strtoupper($loading_order_item->destination)}} {{number_format($allocated_diesel)}} {{number_format($loading_order_item->getGinLoadingDiesel())}} {{number_format($loading_order_item->getGinUpcountryDiesel())}}{{number_format($loading_order_item->getGrnReturnDiesel())}}{{number_format($loading_order_item->getGinReturnDiesel())}}{{number_format($used_diesel )}} @if($used_diesel > $allocated_diesel) ({{number_format($used_diesel - $allocated_diesel)}}) @else {{number_format($allocated_diesel - $used_diesel)}} @endif {{number_format($loading_order_item->getGinLoadingDiesel() +$loading_order_item->getGinUpcountryDiesel()+$loading_order_item->getGrnReturnDiesel()+$loading_order_item->getGinReturnDiesel() )}}
Total {{number_format($gin_loading_diesel)}} {{number_format($gin_upcountry_diesel)}} {{number_format($gin_loading_diesel+$gin_upcountry_diesel)}}