| # | Order ID | Date | Order Type | Billed In | Staff | Items | Amount |
|---|---|---|---|---|---|---|---|
| {{ $i + 1 }} | {{ $row->order_id }} | {{ \Carbon\Carbon::parse($row->created_at)->format('d/m/Y h:i A') }} | {{ ucfirst(str_replace('_', ' ', $row->order_type ?? '-')) }} | {{ $row->billed_in ?? '-' }} | {{ optional($row->staff)->name ?? '-' }} | {{ $row->items_count ?? $row->items ?? 0 }} | ₹ {{ number_format($row->amount ?? 0, 2) }} |