{{--*/ $client = \App\Model\Client::find($view_trip_performance->client_id) /*--}} {{--*/ $consignee = \App\Model\ConsignmentPossessor::find($view_trip_performance->consignee_id) /*--}} {{--*/ $consignor = \App\Model\ConsignmentPossessor::find($view_trip_performance->consignor_id) /*--}} {{--*/ $driver = \App\Model\Driver::whereEmployeeId($view_trip_performance->driver_id)->first() /*--}} {{--*/ $tank_point = \App\Model\LoadingOrderDestinationTank::whereLoadingOrderDestinationId($view_trip_performance->loading_order_destination_id)->first()->loadingOrderDestinationTankPoint[0] /*--}}
{{$view_trip_performance->document_number}}
REF NO: {{$view_trip_performance->d_o_number}} LOADING Date: {{\Carbon\Carbon::parse($view_trip_performance->loading_date)->toFormattedDateString()}}
T1 NO: {{$view_trip_performance->t1_number}} T1 DATE: {{\Carbon\Carbon::parse($view_trip_performance->t1_date)->toFormattedDateString()}}
 
Consignor Consignee
{{$consignor->name}} {{$consignee->name}}
TRUCK NO.: {{$view_trip_performance->truck}}
TRAILER NO.: {{$view_trip_performance->trailer}}
 
LOADING PORT.:@if(count($view_trip_performance->loading_point)){{$view_trip_performance->loading_point}}, @endif {{$view_trip_performance->loading_city}} FREIGHT INVOICE TO.: {{$client->name}}
DISCHARGE PORT.: {{$view_trip_performance->destination}},{{$view_trip_performance->destination_county}}
 
@foreach($tank_point->loadingOrderFuelCargoDetails as $loading_order_fuel_cargo_detail) @endforeach
OBS VOLUME LOADED: {{number_format($tank_point->loading_obs_volume)}}
STD VOL @ 20 C LOADED: {{number_format($tank_point->load_volume_at20)}}
COMP. {{$loading_order_fuel_cargo_detail->nos_number}} {{number_format($loading_order_fuel_cargo_detail->obs_reading)}}
 
 
PRODUCT TEMP(C) DENSITY V.C FACTOR LTS @ OBS LTS @ 20 dg WEIGHT (Kgs) VOLUME RECEIVED
{{$view_trip_performance->product}} {{$tank_point->temperature }} {{$tank_point->density }} {{$tank_point->vc_factor }} {{number_format($tank_point->loading_obs_volume)}} {{number_format($tank_point->load_volume_at20)}} {{$tank_point->weight }}
Prepared by Driver
Name {{$view_trip_performance->creator}} Name {{$driver->driver}} ({{$driver->licence_number}})
Signature
Signature
Received the above mentioned goods in good order and condition
Signature & Stamp
Name