@extends('admin.layouts.admin') @section('title', 'Orders') @section('admin_content')
| # | Order ID | User | Total Amount | Payment Method | Status | Placed At | Actions |
|---|---|---|---|---|---|---|---|
| {{ $key + 1 }} | #{{ $order->id }} | {{ $order->user->name ?? 'N/A' }} | ₹{{ number_format($order->total_amount, 2) }} | {{ ucfirst($order->payment_method) }} | {{ ucfirst($order->status) }} | {{ $order->created_at->format('d M Y, h:i A') }} | View {{-- Optional: Delete Button --}} |
| No orders found! | |||||||