@extends('layouts.app') @section('title', 'Track Shipment') @section('page-title', 'Track Your Shipment') @section('content')

Track Your Shipment

Enter your Container Number (CNTR) to see the current status

@if(isset($booking)) @if($booking)
Shipment Number

{{ $booking->cntr_no }}

Current Status: {{ $booking->status }}

Customer / Receiver

{{ $booking->receiver_name ?? $booking->customer->name }}

{{ $booking->receiver_phone ?? $booking->customer->phone }}

Origin

{{ $booking->pickup_location }}

{{ $booking->pickup_date->format('d M, Y') }}

Destination

{{ $booking->delivery_location }}

{{ $booking->delivery_date ? $booking->delivery_date->format('d M, Y') : 'Estimated' }}

Cargo Details

{{ $booking->carton_count ?? 0 }} Cartons

{{ number_format($booking->weight_kg, 2) }} KG | {{ number_format($booking->volume_cbm, 2) }} CBM

Description

{{ $booking->cargo_description }}

Shipment Progress

{{ $booking->status }}

Current Status

{{ now()->format('d M, Y H:i') }} (Latest)
@forelse($booking->tracking as $track)
{{ $track->status }}

{{ $track->location }}

@if($track->remarks)

{{ $track->remarks }}

@endif
{{ $track->status_date->format('d M, Y H:i') }}
@empty
Shipment Booked

{{ $booking->pickup_location }}

{{ $booking->booking_date->format('d M, Y') }}
@endforelse
@else

Shipment Not Found

We couldn't find any shipment with the number {{ $cntr_no }}.

Please check the number and try again.

@endif @endif
@endsection