@extends('layouts.customer') @section('title', 'Shipment Details') @section('content')

Shipment Details

Tracking and delivery information for your parcel

Back to Shipments
Tracking ID
{{ $shipment->tracking_number }}
Current Status
{{ ucfirst($shipment->status) }}
Destination
{{ $shipment->shipmentAddress?->address ?? $shipment->receiver_address }}
Weight
{{ $shipment->weight }} kg
Price
${{ number_format($shipment->price, 2) }}
Receiver
{{ $shipment->receiver_name }}
{{ $shipment->receiver_address }}

Activity Log

Status: {{ ucfirst($shipment->status) }}

Status synced from consignment

{{ $shipment->updated_at->format('d M Y, h:i A') }}

@if($shipment->consignment)

Added to Consignment

Parcel added to consignment

{{ $shipment->consignment->created_at?->format('d M Y, h:i A') }}

@endif @if($shipment->invoice?->paid_at)

Payment Confirmed

Customer payment received (₦{{ number_format($shipment->final_price, 2) }})

{{ $shipment->invoice->paid_at->format('d M Y, h:i A') }}

@endif

Shipment Created

Parcel created

{{ $shipment->created_at->format('d M Y, h:i A') }}

@if($shipment->activities && $shipment->activities->count()) @foreach($shipment->activities as $activity)

{{ $activity->title }}

{{ $activity->description }}

{{ $activity->created_at->format('d M Y, h:i A') }}

@endforeach @endif @if(empty($shipment->activities))

No additional activity logs available.

@endif
@endsection