Active Shipments

{{ $stats['active'] }}

In Transit

{{ $stats['in_transit'] }}

Delivered

{{ $stats['delivered'] }}

Delayed

{{ $stats['delayed'] }}

Recent Shipments

@if($shipments->count() > 0)
@foreach($shipments as $shipment) @endforeach
Tracking # Client Type Route Weight Value Status Actions
{{ $shipment->tracking_number }}
{{ $shipment->client->name ?? 'N/A' }}
@php $type = $shipment->shipment_type ?? 'export'; $typeColors = [ 'export' => 'bg-green-100 text-green-800', 'import' => 'bg-blue-100 text-blue-800', 'domestic' => 'bg-yellow-100 text-yellow-800' ]; @endphp {{ ucfirst($type) }}
{{ $shipment->origin_country ?? 'N/A' }}
→ {{ $shipment->destination_country ?? 'N/A' }}
{{ number_format($shipment->weight ?? 0, 1) }} kg
{{ $shipment->currency ?? 'USD' }} {{ number_format($shipment->declared_value ?? 0, 2) }}
@php $status = $shipment->status; $statusColors = [ 'pending' => 'bg-yellow-100 text-yellow-800', 'in_transit' => 'bg-blue-100 text-blue-800', 'customs' => 'bg-purple-100 text-purple-800', 'delivered' => 'bg-green-100 text-green-800', 'cancelled' => 'bg-red-100 text-red-800' ]; @endphp {{ ucfirst(str_replace('_', ' ', $status)) }}
View Track
{{ $shipments->links() }}
@else

No Shipments Found

Start by creating your first shipment.

Create Shipment
@endif