@if ($orders->isEmpty())
Try adjusting your search or filters
| Order Code | Vendor | Amount | Delivery Status | Payment Status | Created At | Order Status |
|---|---|---|---|---|---|---|
| {{ $order->code }} | {{ $order->user ? $order->user->first_name . ' ' . $order->user->last_name : 'N/A' }} | ${{ number_format($order->amount, 2) }} | {{ ucfirst($order->delivery_status) }} | {{ ucfirst($order->payment_status) }} | {{ \Carbon\Carbon::parse($order->created_at)->format('M d, Y') }} | {{ ucfirst($order->status) }} |
Vendor:
{{ $order->user ? $order->user->first_name . ' ' . $order->user->last_name : 'N/A' }}
Amount: ${{ number_format($order->amount, 2) }}
Delivery Status:
{{ ucfirst($order->delivery_status) }}
Payment Status:
{{ ucfirst($order->payment_status) }}
Created At: {{ \Carbon\Carbon::parse($order->created_at)->format('M d, Y') }}