@extends('super-admin.layout') @section('title', 'Sales Report') @section('subtitle', $summary['period']) @section('content')
| Order ID | Customer | Date | Items | Total | Status |
|---|---|---|---|---|---|
| #{{ $order->id }} |
{{ $order->user->name ?? 'Guest' }}
{{ $order->user->email ?? $order->guest_email }}
|
{{ $order->created_at->format('M d, Y H:i') }} | {{ $order->items->sum('quantity') }} | ${{ number_format($order->total_amount, 2) }} | {{ ucfirst($order->status) }} |
| No orders found for the selected period. | |||||