| Order ID | Date | Customer | Items | Amount | Status | Actions |
|---|---|---|---|---|---|---|
| #{{ substr($order->ulid, 0, 8) }} | {{ $order->created_at->format('M d, Y h:ia') }} |
{{ $order->user->name ?? 'Deleted User' }}
{{ $order->user->email ?? '' }}
|
{{ $order->items->count() }} item(s) | ${{ number_format($order->total, 2) }} | @php $statusLabel = $order->status; if ($order->status === 'failed') { $statusLabel = 'rejected'; } $sClass = match($order->status) { 'paid' => 'badge-paid', 'refunded', 'failed' => 'badge-refunded', default => 'badge-pending' }; @endphp {{ strtoupper($statusLabel) }} | View Details |
| No orders found matching your criteria. | ||||||