@extends('admin.layouts.app') @section('title', $title) @section('content')
| ID | Order | Status | User | Payment Method | Coupon | Date | Total | Actions | |
|---|---|---|---|---|---|---|---|---|---|
| {{ $order->id }} | {{ $order->order_reference }} | @php $statusDetails = getStatusDetails((int)$order->status); @endphp {{ $statusDetails['label'] }} | {{ $order->user->name }} | {{ $order->payment_method }} | {{ $order->discount_code ?? 'N/A' }} | {{ $order->created_at->diffForHumans() ?? $order->created_at }} | {!! ch_format_price($order->total, $order->currency) !!} | ||
| No Orders found. | |||||||||