@extends('layouts.main_without_top_button') @section('title') Route Profile:Loading Details @stop @section('navigation') @stop @section('contentinner')
@include('operations.route_assignments.includes.profile')
  • {{----}} {{----}} {{----}} DISPATCH ADVICE
{{----}} {{----}}

{{--
--}} {{----}} {{--
--}} {{--
--}} {{----}} {{----}} {{----}} {{----}} {{----}} {{----}} {{----}} {{----}} {{----}} {{----}} {{----}} {{----}} {{----}} {{----}} {{----}} {{----}} {{----}} {{--
Order NO.:--}} {{--{{$route_assignment->file_number}}--}} {{--
Consignor:--}} {{--{{$route_assignment->consignor}}--}} {{--Consignee:--}} {{----}} {{--{{$route_assignment->consignee}}--}} {{--
LOADING PORT.--}} {{----}} {{--{{$route_assignment->loading_point}}--}} {{--DISCHARGE PORT.:{{$route_assignment->destination->name}}
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--@endif--}}
@foreach($route_assignment->loadingOrderDestinationRouteAssignments as $index=>$loading_order_destination_route_assignment) @if(count($loading_order_destination_route_assignment->loadingOrderDestination->loadingOrderDestinationTank))
Order NO.: {{$loading_order_destination_route_assignment->file_number}} Sub T1 No.: {{$loading_order_destination_route_assignment->sub_t1_number}}
Consignor: {{$loading_order_destination_route_assignment->consignor->name}} LOADING PORT. @if(count($loading_order_destination_route_assignment->loadingOrderDestination->loadingOrderItem->loading_point)){{$loading_order_destination_route_assignment->loadingOrderDestination->loadingOrderItem->loading_point}} , @endif {{$loading_order_destination_route_assignment->loadingOrderDestination->loadingOrderItem->city->name}}
PRODUCT {{$loading_order_destination_route_assignment->loadingOrderDestination->loadingOrderDestinationTank->product}}
Consignee: {{$loading_order_destination_route_assignment->consignee->name}} DISCHARGE PORT.: {{$loading_order_destination_route_assignment->loadingOrderDestination->destination}}

@foreach($loading_order_destination_route_assignment->loadingOrderDestination->loadingOrderDestinationTank->loadingOrderDestinationTankPoint as $loading_order_destination_tank_point) {{--*/ $comp_total_amount = 0 /*--}} {{--*/ $comp_total_amount_quantity_dipstick = 0 /*--}} {{--*/ $comp_total_amount_at_20 = 0 /*--}} @if(count($loading_order_destination_tank_point->loadingOrderFuelCargoDetails)) @foreach($loading_order_destination_tank_point->loadingOrderFuelCargoDetails as $loading_order_fuel_cargo_detail) {{--*/ $comp_total_amount += $loading_order_fuel_cargo_detail->obs_reading /*--}} {{--*/ $comp_total_amount_quantity_dipstick += $loading_order_fuel_cargo_detail->dipstick_reading /*--}} {{--*/ $comp_total_amount_at_20 += $loading_order_fuel_cargo_detail->obs_reading*$loading_order_destination_tank_point->vc_factor /*--}} @endforeach @endif @endforeach
TEMP(C): {{$loading_order_destination_tank_point->temperature}} DENSITY {{$loading_order_destination_tank_point->density}}
V.C FACTOR: {{$loading_order_destination_tank_point->vc_factor }} WEIGHT (Kgs) {{$loading_order_destination_tank_point->weight}}
COMP DIPSTICK OBS STD VOL@ 20C
{{$loading_order_fuel_cargo_detail->nos_number}} {{number_format($loading_order_fuel_cargo_detail->dipstick_reading)}} {{number_format($loading_order_fuel_cargo_detail->obs_reading)}} {{number_format($loading_order_destination_tank_point->vc_factor*$loading_order_fuel_cargo_detail->obs_reading,2)}}
TOTAL {{number_format($comp_total_amount_quantity_dipstick)}} {{number_format($comp_total_amount)}} {{number_format($comp_total_amount_at_20,2)}}
@elseif(count($loading_order_destination_route_assignment->loadingOrderDestination->loadingOrderDestinationContainers))
Order NO.: {{$loading_order_destination_route_assignment->file_number}} Sub T1 No.: {{$loading_order_destination_route_assignment->sub_t1_number}}
Consignor: {{$loading_order_destination_route_assignment->consignor->name}} LOADING PORT. @if(count($loading_order_destination_route_assignment->loadingOrderDestination->loadingOrderItem->loading_point)){{$loading_order_destination_route_assignment->loadingOrderDestination->loadingOrderItem->loading_point}} , @endif {{$loading_order_destination_route_assignment->loadingOrderDestination->loadingOrderItem->city->name}}
Consignee: {{$loading_order_destination_route_assignment->consignee->name}} DISCHARGE PORT.: {{$loading_order_destination_route_assignment->loadingOrderDestination->destination}}

@foreach($loading_order_destination_route_assignment->loadingOrderDestination->loadingOrderDestinationContainers as $container)
CONTAINER NO.: {{$container->container}} CONTAINER SIZE: {{$container->size}}
Type: TONNAGE. {{$container->quantity}}
DESCRIPION: {{$container->description}}
@endforeach @elseif(count($loading_order_destination_route_assignment->loadingOrderDestination->loadingOrderDestinationLooseCargo))
Order NO.: {{$loading_order_destination_route_assignment->file_number}} Sub T1 No.:
Consignor: {{$loading_order_destination_route_assignment->consignor->name}} LOADING PORT. {{$loading_order_destination_route_assignment->loading_point}}
Cargo Description {{$loading_order_destination_route_assignment->loadingOrderDestination->loadingOrderDestinationLooseCargo[0]->descriptions}}
Consignee: {{$loading_order_destination_route_assignment->consignee->name}} DISCHARGE PORT.: {{$loading_order_destination_route_assignment->loadingOrderDestination->destination}}
@endif @endforeach
@stop