@extends('layouts.app') @section('title', 'Export Orders') @push('styles') @endpush @section('breadcrumbs') @endsection @section('content')
Track and manage all export orders
| Order # | Date | Customer | Commodity | ETD | Amount | Status | Actions |
|---|---|---|---|---|---|---|---|
| {{ $order->order_number }} | {{ $order->created_at->format('d M Y') }} | {{ $order->customer->name ?? 'N/A' }} | {{ $order->commodity->name ?? 'N/A' }} | {{ optional($order->etd)->format('d M Y') ?? 'TBD' }} | {{ number_format($order->total_amount, 2) }} {{ $order->currency }} | @php $statusMap = [ 'draft' => 'bg-secondary-subtle text-secondary', 'confirmed' => 'bg-info-subtle text-info', 'processing' => 'bg-primary-subtle text-primary', 'booked' => 'bg-warning-subtle text-warning', 'shipped' => 'bg-success-subtle text-success', 'in_transit' => 'bg-primary-subtle text-primary', 'delivered' => 'bg-success-subtle text-success', 'on_hold' => 'bg-danger-subtle text-danger', 'cancelled' => 'bg-secondary-subtle text-secondary', ]; @endphp {{ str_replace('_', ' ', ucfirst($order->status)) }} |
|
No orders found | |||||||