Revenue and operational insights
Today's Orders
{{ $analytics['orders_today'] }}
Today's Revenue
₦{{ number_format($analytics['revenue_today'], 2) }}
Month Orders
{{ $analytics['orders_month'] }}
Avg Order Value
₦{{ number_format($analytics['AOV_month'] ?? 0, 2) }}
{{ $dish->name }}
₦{{ number_format($dish->price, 2) }}
{{ $dish->order_count }}
orders
{{ $order->user->name ?? 'Guest' }}
{{ $order->created_at->diffForHumans() }}
₦{{ number_format($order->total, 2) }}
{{ $customerStats['total_customers'] }}
Total Customers
{{ $customerStats['new_customers_month'] }}
New This Month
₦{{ number_format($analytics['revenue_month'], 2) }}
Month Revenue
{{ number_format(($analytics['revenue_month'] / max($analytics['orders_month'], 1)), 2) }}%
Growth Rate
These dishes have no resolvable image URL. Ensure the file exists in public/storage/dishes or public/assets/images, or set an absolute URL in the image field.
| ID | Name | Image field |
|---|---|---|
| {{ $d->id }} | {{ $d->name }} | {{ $d->image ?: '—' }} |
Accepted locations under public/: storage/dishes/, storage/, assets/dishes/, assets/images/, assets/dishes/originals/.
Tip: run php artisan storage:link if using storage-backed images.