@extends('beautymail::templates.widgets') @section('content') @include('beautymail::templates.widgets.articleStart')

ENQUIRY

{{$receiver_details['name']}}

{{ $receiver_details['remarks'] }}

@include('beautymail::templates.widgets.articleEnd') @include('beautymail::templates.widgets.newfeatureStart')

ENQUIRY DETAILS

Enquiry By: {{ $receiver_details['client_inquiry']->client->name }}
Received On: {{ \Carbon\Carbon::parse($receiver_details['client_inquiry']->date)->toFormattedDateString() }}

@foreach($receiver_details['client_inquiry']->clientInquiryItems as $client_inquiry_item) {{--*/ $product = DB::table('transit_products')->where('id', $client_inquiry_item->transit_product_id)->first() /*--}} {{--*/ $route = $client_inquiry_item->getRoute() /*--}} @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
{{--@if($route_cargo_detail->is_returning)--}} {{--@foreach($route_cargo_detail->routeReturningCargoDetails as $route_returning_cargo_detail)--}} {{----}} {{----}} {{----}} {{----}} {{----}} {{--@endforeach--}} {{--@endif--}}
LOADING POINT DESTINATION TRIP TYPE PRODUCT
{{$client_inquiry_item->clientInquiryItemLoadingPoint->city->name}} {{$client_inquiry_item->clientInquiryItemOffloadingPoint->city->name}}, {{ $client_inquiry_item->clientInquiryItemOffloadingPoint->city->country->name }} {{ $client_inquiry_item->cargo_type }} {{ $product->name }}
{{$route_returning_cargo_detail->loadingCity->name}}{{$route_returning_cargo_detail->loadingCity->country->name}}, DAR ES SALAAM
@endforeach

Review and Approve

@include('beautymail::templates.widgets.newfeatureEnd') @stop