@extends('dashboard.admin.layouts.master') @section('content')
@include('dashboard.admin.partials.banner_area')

Tracking Code: {{ @$shipment->tracking_code }}


From:
{{ @$shipment->sender_name }}
{{ @$shipment->sender_address }}
{{ @$shipment->sender_phone }}
{{ @$shipment->sender_email }}
Shipped To:
{{ @$shipment->client_name }}
{{ @$shipment->client_address }}
{{ @$shipment->client_phone }}
{{ @$shipment->client_email }}
Shipment Date:
{{ date('d F Y', strtotime(@$shipment->date_of_shipment)) }}

Shipped From Pickup Location Expected Delivery Date
{{ @$shipment->shipped_from }} {{ @$shipment->pickup_location }} {{ date('d F Y', strtotime(@$shipment->expected_delivery_date)) }}
Description
{{ @$shipment->description }}
Product Carrier Status Current Location
{{ @$shipment->product }} {{ @$shipment->carrier }} {{ @$shipment->status }} {{ @$shipment->current_location }}

@include('partials.email_message')

Shipment Location

@foreach ($shipmentLocations as $key => $shipmentLocation) @endforeach
# Status Location Google Map Location Description Date Time Action
{{ $key + 1 }} {{ $shipmentLocation->status }} @if (@$shipment->current_location == $shipmentLocation->location && @$shipment->status == $shipmentLocation->status) Current Location: {{ $shipmentLocation->location }} @else Previous Location: {{ $shipmentLocation->location }} @endif {{ $shipmentLocation->google_map_location }} {{ $shipmentLocation->description }} {{ date('d F Y', strtotime($shipmentLocation->date)) }} {{ date('g:i A', strtotime($shipmentLocation->time)) }}
@endsection