@extends('admin.layout.content') @section('content')
Selamat datang kembali, admin!
| Invoice | Tanggal Pesan | Status | Total |
|---|---|---|---|
| #{{ $order->invoice_number }} | {{ $order->created_at->format('d M Y, H:i') }} | @php $statusColors = [ 'pending' => 'warning', 'processing' => 'info', 'shipped' => 'primary', 'completed' => 'success', 'cancelled' => 'danger' ]; $color = $statusColors[$order->order_status] ?? 'secondary'; @endphp {{ ucfirst($order->order_status) }} | Rp {{ number_format($order->total_payment, 0, ',', '.') }} |
| Belum ada pesanan terbaru. | |||