@extends('layouts.admin') @section('page-title', 'Admin Orders') @section('content')
You have total {{ $stats['total'] }} admin orders
{{ $stats['total'] }}
Total
{{ $stats['pending'] }}
Pending
{{ $stats['processing'] }}
Confirmed
{{ $stats['shipped'] }}
On The Way
{{ $stats['delivered'] }}
Delivered
{{ $stats['cancelled'] }}
Canceled
| # | Order Code | Customer | Total Product | Price | Delivery Status | Payment Status | Options |
|---|---|---|---|---|---|---|---|
| {{ $orders->firstItem() + $index }} | {{ $order->order_number }} |
{{ $order->customer->name }}
|
{{ $order->items->count() }} | ${{ number_format($order->total, 2) }} | {{ ucfirst(str_replace('processing', 'Confirmed', str_replace('shipped', 'On The Way', str_replace('cancelled', 'Canceled', $order->status)))) }} | {{ ucfirst($order->payment_status) }} | |
|
No admin orders found Try adjusting your filters |
|||||||