| Placed | Order # | Customer | Location | Payment | Status | Total | |
|---|---|---|---|---|---|---|---|
| {{ optional($o->placed_at)->format('d M · H:i') }} | {{ $o->order_number ?? '#'.$o->id }} |
{{ optional($o->customer)->name ?? '—' }} {{ optional($o->customer)->phone }} |
{{ optional($o->location)->name }} |
{{ strtoupper($o->payment_method_used) }}
@if($o->upi_utr) UTR {{ $o->upi_utr }}@endif |
@php $labelClass = [ 'pending' => 'warning', 'confirmed' => 'info', 'processing' => 'primary', 'shipped' => 'primary', 'delivered' => 'success', 'cancelled' => 'danger', 'refunded' => 'default', ][$o->status] ?? 'default'; @endphp {{ strtoupper($o->status) }} | {{ config('constants.currency_symbol','₹') }}{{ number_format($o->grand_total, 2) }} | Open |
| No orders yet. | |||||||