@if ($orders->isEmpty())
No orders yet.
@else| Ref | Date | Customer | Total | Payment | Pay status | Status |
|---|---|---|---|---|---|---|
| {{ $o->ref }} | {{ $o->getRawOriginal('created_at') }} | {{ $o->customer_name }} {{ $o->phone }} |
{{ naira($o->total) }} | {{ \App\Models\Order::METHODS[$o->payment_method] ?? $o->payment_method }} | {{ \App\Models\Order::PAY_STATUSES[$o->payment_status] ?? $o->payment_status }} | {{ \App\Models\Order::STATUSES[$o->status] ?? $o->status }} |