@vite(['resources/css/app.css', 'resources/js/app.js']) @include('admin.partials.styles') @include('admin.partials.sidebar')

System Overview

Inventory

{{ $counts['categories'] ?? 0 }}

Product Categories

Catalog

{{ $counts['products'] ?? 0 }}

Listed Products

Network

{{ $counts['clients'] ?? 0 }}

Active Clients

Finance

₹{{ number_format($counts['total_revenue'] ?? 0, 0) }}

Gross Revenue

Order Pipeline

Real-time status tracking

@php $statuses = [ ['label' => 'Pending', 'key' => 'pending_orders', 'color' => 'amber'], ['label' => 'Processing', 'key' => 'processed_orders', 'color' => 'blue'], ['label' => 'Shipped', 'key' => 'shipped_orders', 'color' => 'purple'], ['label' => 'Completed', 'key' => 'completed_orders', 'color' => 'emerald'], ]; @endphp @foreach($statuses as $status)
{{ $status['label'] }}

{{ $counts[$status['key']] ?? 0 }}

@endforeach
Cancelled

{{ $counts['cancelled_orders'] ?? 0 }}

Returned

{{ $counts['returned_orders'] ?? 0 }}

Live Transactions

View History →
@forelse($recentOrders as $order) @empty @endforelse
Reference Client Total Status
#{{ $order->order_number }}
{{ $order->user ? $order->user->name : ($order->name ?? 'Guest User') }}
{{ $order->created_at->diffForHumans() }}
₹{{ number_format($order->total, 2) }} {{ $order->status }}
No transactions recorded yet.

Critical Stock

Inventory Feed →
@forelse($lowStockItems ?? [] as $item) @empty @endforelse
Product Detail Level Action
{{ $item->product?->name ?? 'Syncing Product...' }}
@if($item->sku)
UID: {{ $item->sku }}
@endif
{{ $item->stock }} remaining Refill
All systems are operational.

Fleet Performance

@forelse($recentDriverRatings as $rating) @empty @endforelse
Driver Rating Feedback
{{ $rating->deliveryAgent->user->name ?? 'System User' }}
via Order #{{ $rating->order->order_number ?? 'N/A' }}
{{ number_format($rating->rating, 1) }}

"{{ $rating->comment ?? 'No comment' }}"

No fleet feedback yet.

Product Reviews

@forelse($recentItemRatings as $review) @empty @endforelse
Product Rating Customer
{{ $review->product->name ?? 'Unknown Product' }}
{{ $review->created_at->diffForHumans() }}
{{ number_format($review->rating, 1) }}
{{ $review->user->name ?? 'Guest' }}

"{{ $review->review ?? 'No comment' }}"

No reviews yet.