@extends('layouts.admin') @section('title', 'All Invoices') @section('content')

All Shipment Invoices

{{-- Search Bar --}}
{{-- Status Filter --}} {{-- User Filter --}} {{-- Date From --}} {{-- Date To --}} {{-- Submit --}}
{{-- Desktop Table --}} {{-- Mobile Card Layout --}}
@foreach($shipments as $shipment)
Tracking {{ $shipment->tracking_number }}
Receiver {{ $shipment->receiver_name }}
Customer {{ $shipment->customer->name ?? 'N/A' }}
Final Price £{{ number_format($shipment->final_price, 2) }}
Created {{ $shipment->created_at->format('d M, Y') }}
@endforeach
{{-- Pagination --}}
{{ $shipments->links() }}
@endsection