@extends('layouts.admin') @section('page-title', 'All Orders') @section('content')
You have total {{ $stats['total'] }} orders
{{ $stats['total'] }}
Total
{{ $stats['pending'] }}
Pending
{{ $stats['confirmed'] }}
Confirmed
{{ $stats['processing'] }}
Processing
{{ $stats['shipped'] }}
Shipped
{{ $stats['delivered'] }}
Delivered
{{ $stats['cancelled'] }}
Cancelled
${{ number_format($stats['revenue'], 0) }}
Revenue
| # | Order Code | Customer | Type | Total Product | Price | Delivery Status | Payment Status | Options |
|---|---|---|---|---|---|---|---|---|
| {{ $orders->firstItem() + $index }} | {{ $order->order_number }} |
{{ $order->customer->name }}
{{ $order->customer->email }}
|
{{ ucfirst(str_replace('_', ' ', $order->order_type)) }} | {{ $order->items->count() }} | ${{ number_format($order->total, 2) }} | {{ ucfirst($order->status) }} | {{ ucfirst($order->payment_status) }} | |
|
No orders found Try adjusting your filters |
||||||||