@extends('admin.layouts.app') @section('title', 'Orders') @section('content')
| Order | Customer | Payment | TxnID | Amount | Status | Date | Actions |
|---|---|---|---|---|---|---|---|
| {{ $order->order_number }} | {{ $order->user->name ?? 'N/A' }} | {{ $order->payment_method }} | {{ $order->transaction_id }} |
{{ \App\Models\Setting::get('currency_symbol','৳') }}{{ number_format($order->total, 2) }} | {{ ucfirst($order->status) }} | {{ $order->created_at->format('M d, Y') }} | @if($order->status === 'pending') @endif |