Enquiry By: |
{{ $client_inquiry->client->name }} |
Received On: |
{{\Carbon\Carbon::parse($client_inquiry->date)->toFormattedDateString()}} |
@foreach($client_inquiry->clientInquiryItems as $client_inquiry_item)
{{--*/ $route = $client_inquiry_item->getRoute() /*--}}
{{--*/ $tanker_destination_detail=$client_inquiry_item->getRoute()->routeCargoDetails()->whereType($client_inquiry_item->cargo_type)->first() /*--}}
@if($route)
{{--*/ $route_cargo_details =$route->routeCargoDetails() /*--}}
{{--*/ $route_cargo_detail = $route_cargo_details->whereType($client_inquiry_item->cargo_type)->first() /*--}}
@else
{{--*/ $route_cargo_detail = [] /*--}}
@endif
Loading Point |
Country |
Destination |
Distance/Two Way |
Rate/MT |
Rate/Trip |
Direct Cost |
Contribution |
Fixed Cost |
Net Profit |
Net Profit(%) |
Cash Profit |
{{$client_inquiry_item->clientInquiryItemLoadingPoint->city->name}}
|
{{$client_inquiry_item->clientInquiryItemOffloadingPoint->city->country->name}} |
{{$client_inquiry_item->clientInquiryItemOffloadingPoint->city->name}}
|
{{$route->go_distance+$route->return_distance}} |
{{$client_inquiry_item->rate}} |
{{number_format($client_inquiry_item->rate*$client_inquiry_item->tonnage)}} |
{{($client_inquiry_item->expenses()['operations'])}} |
{{($client_inquiry_item->expenses()['contribution'])}} |
{{($client_inquiry_item->expenses()['fixed'])}} |
{{($client_inquiry_item->expenses()['net_profit'])}} |
{{($client_inquiry_item->expenses()['net_profit_percent'])}} |
{{($client_inquiry_item->expenses()['cash_profit'])}} |
@if($route_cargo_detail->is_returning)
@foreach($route_cargo_detail->routeReturningCargoDetails as $route_returning_cargo_detail)
{{$route_returning_cargo_detail->loadingCity->name}} |
{{$route_returning_cargo_detail->loadingCity->country->name}} |
DAR ES SALAAM |
|
Rate/MT |
Rate/Trip |
Direct Cost |
|
Fixed Cost |
|
|
|
@endforeach
@endif
@endforeach