@if(session('success'))
{{ session('success') }}
@endif
Total Orders
{{ $orders->total() }}
Pending
{{ \App\Models\Transaksi::where('order_status', 'pending')->count() }}
Processing
{{ \App\Models\Transaksi::where('order_status', 'processing')->count() }}
Delivered
{{ \App\Models\Transaksi::where('order_status', 'delivered')->count() }}
Daftar Pesanan ({{ $orders->total() }})
| Invoice | Customer | Phone | Order Status | Payment Status | Metode | Total | Tanggal | Aksi |
|---|---|---|---|---|---|---|---|---|
| {{ $order->invoice_number }} | {{ $order->customer_name }} | {{ $order->customer_phone }} |
@if($order->cancellation && $order->cancellation->status === 'pending')
âš Minta Batal @endif |
{{ ucwords(str_replace('_', ' ', $order->payment_method ?? '-')) }} | Rp {{ number_format($order->total_amount, 0, ',', '.') }} | {{ $order->created_at->format('d M Y H:i') }} | ||
| Belum ada pesanan | ||||||||