@extends('layouts.master') @section('content')
background

{{ $title }}

{{ $shipment->tracking_code }}
@if ($shipment->status == 'Delivered' || $shipment->status == 'PickedUp' || $shipment->status == 'InTransit')
    @if ($shipment->status == 'PickedUp')
  • Pickup
  • @else
  • Pickup
  • @endif @if ($shipment->status == 'InTransit')
  • In Transit
  • @else
  • In Transit
  • @endif @if ($shipment->status == 'Delivered')
  • Delivery
  • @else
  • Delivery
  • @endif
@endif
@if ($shipment->status == 'Delivered')

DELIVERED

@endif
    @foreach ($shipmentLocations as $shipmentLocation)
  • {{ date('M d,Y', strtotime($shipmentLocation->date)) }} {{ date('g:i a', strtotime($shipmentLocation->time)) }}
    @if ($shipmentLocation->status == 'OutForDelivery') @elseif ($shipmentLocation->status == 'Delivered') @else @endif {{ $shipmentLocation->status }} ({{ $shipment->carrier }})
    @if ($shipmentLocation->description != null)
    {{ $shipmentLocation->description }}({{ $shipment->carrier }})
    @endif
  • @endforeach
Shipping Details
From:

Address:
Email:
Phone:
To:

Address:
Email:
Phone:
Description:
Status:
Shipped from:
Shipped to:
Expected Date of Delivery:
Pickup Location:
Date of Shipment:
Shipped by: