{{ $counts['categories'] ?? 0 }}
Product Categories
{{ $counts['products'] ?? 0 }}
Listed Products
{{ $counts['clients'] ?? 0 }}
Active Clients
₹{{ 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)
@endforeach
{{ $status['label'] }}
{{ $counts[$status['key']] ?? 0 }}
Cancelled
{{ $counts['cancelled_orders'] ?? 0 }}
Returned
{{ $counts['returned_orders'] ?? 0 }}
Live Transactions
View History →| 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 →| 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
| 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
| 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. | ||