Orders Section
| S.N. | Name | Shipping Address | Total Price | Total Items | Payment Method | Order Number | User Type | Action |
|---|---|---|---|---|---|---|---|---|
| {{ $loop->iteration }} | {{ optional($order->user)->first_name ?? 'Guest' }} | {{ $order->shipping_address ?? '-' }} | ${{ number_format($order->total_price, 2) }} | {{ $order->total_items ?? '-' }} | {{ ucfirst($order->payment_method) ?? '-' }} | {{ $order->order_number ?? '-' }} | @if(optional($order->user)->is_guest) Guest @else Registered @endif | View |