@extends('layouts.admin') @section('title', 'Kelola Pesanan Masuk') @section('content')
Kelola dan pantau seluruh transaksi pembelian dari seluruh buyer Lazy Store.
| Nomor Order | Data Buyer | Tanggal | Jumlah Item | Total | Status Pesanan | Aksi |
|---|---|---|---|---|---|---|
| {{ $order->order_number }} |
{{ $order->user ? $order->user->name : 'Buyer ID #' . $order->user_id }}
{{ $order->user ? $order->user->email : '-' }}
|
{{ $order->created_at->format('d M Y, H:i') }} | {{ $order->orderItems->sum('quantity') }} unit | {{ $order->formatted_total_price }} | @if ($order->status === 'pending') Pending @elseif ($order->status === 'processing') Processing @elseif ($order->status === 'shipped') Shipped @elseif ($order->status === 'completed') Completed @elseif ($order->status === 'cancelled') Cancelled @else {{ ucfirst($order->status) }} @endif | Detail |
@if (request('status') || request('search')) Tidak ditemukan data pesanan dengan filter pencarian saat ini. Silakan atur ulang filter pencarian Anda. @else Saat ini belum ada pesanan yang masuk dari pembeli di lazy store. @endif
@if (request('status') || request('search')) Reset Filter @endif