@extends('admin.layouts.app') @section('title', 'Pesanan') @section('content')
| No. Pesanan | Pemesan | Total | Status Pesanan | Pembayaran | Tanggal | |
|---|---|---|---|---|---|---|
| {{ $order->order_number }} |
{{ $order->customer_name }}
{{ $order->customer_phone }}
|
Rp {{ number_format($order->grand_total, 0, ',', '.') }} | {{ $statusLabels[$order->order_status] ?? $order->order_status }} | @if($order->payment_status === 'paid') Lunas @else Pending @endif | {{ $order->created_at->format('d M Y H:i') }} | Detail |
| Belum ada pesanan | ||||||