Orders Management
Kelola semua pesanan pelanggan di sini!
@if(session('success'))
{{ session('success') }}
@endif
Total Orders
{{ $orders->total() }}
Pending Orders
{{ \App\Models\Transaksi::where('order_status', 'pending')->count() }}
Processing Orders
{{ \App\Models\Transaksi::where('order_status', 'processing')->count() }}
Delivered Orders
{{ \App\Models\Transaksi::where('order_status', 'delivered')->count() }}
Daftar Pesanan ({{ $orders->total() }})
| Invoice Number | Customer | Phone | Order Status | Payment Status | Metode Pembayaran | Total | Order Date | 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') }} |
Menampilkan {{ $orders->firstItem() ?? 0 }} sampai {{ $orders->lastItem() ?? 0 }}
dari {{ $orders->total() }} pesanan
{{ $orders->links() }}