Inventory Dashboard

{{-- KPI Cards --}}
{{-- Total Dishes --}}

Total Dishes

{{ number_format($totalDishes) }}

{{-- Low Stock Count --}}

Low Stock Items

{{ number_format($lowStockCount) }}

{{-- Total On Hand --}}

Total On Hand

{{ number_format($totalOnHand) }}

{{-- Stock Value --}}

Stock Value

₦{{ number_format($totalStockValue, 2) }}

{{-- Two Column Layout --}}
{{-- Top Sellers --}}

Top Sellers (Last 30 Days)

@if($topSellers->count() > 0)
@foreach($topSellers as $seller)

{{ $seller->name }}

Stock: {{ $seller->stock }}

{{ number_format($seller->total_sold) }} sold

@endforeach
@else

No sales data available

@endif
{{-- Low Stock Alerts --}}

Low Stock Alerts

@if($lowStockDishes->count() > 0)
@foreach($lowStockDishes as $dish)

{{ $dish->name }}

@if($dish->isOutOfStock()) Out of stock @else Only {{ $dish->stock }} remaining (threshold: {{ $dish->low_stock_threshold }}) @endif
@endforeach
@else

All dishes have adequate stock

@endif
{{-- Recent Movements --}}

Recent Movements

View All →
@forelse($recentMovements as $movement) @empty @endforelse
Dish Change Reason User Date Note
{{ $movement->dish->name }}
{{ $movement->change > 0 ? '+' : '' }}{{ $movement->change }} {{ ucfirst($movement->reason) }} {{ $movement->user->name ?? 'System' }} {{ $movement->created_at->format('M j, Y g:i A') }} {{ $movement->note ? Str::limit($movement->note, 50) : '—' }}
No movements recorded yet
{{-- Quick Actions --}}