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

ENQUIRY REJECTED

{{ $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) {{--*/ $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
@if($route_cargo_detail->is_returning) @foreach($route_cargo_detail->routeReturningCargoDetails as $route_returning_cargo_detail) @endforeach @endif
LOADING POINT DESTINATION CARGO TYPE
{{$client_inquiry_item->clientInquiryItemLoadingPoint->city->name}} {{$client_inquiry_item->clientInquiryItemOffloadingPoint->city->name}}, {{ strtoupper($client_inquiry_item->clientInquiryItemOffloadingPoint->city->country->name) }} {{ $client_inquiry_item->cargo_type }}
{{$route_returning_cargo_detail->loadingCity->name}} {{$route_returning_cargo_detail->loadingCity->country->name}}, DAR ES SALAAM
@endforeach

Preview

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