@extends('layouts.admin-simple') @section('title', 'Inventory Dashboard') @section('breadcrumb') @endsection @section('page-title')

Inventory Dashboard

Real-time inventory monitoring and analytics

schedule Just now
@endsection @section('content') @php $goodQtyTotal = \App\Models\Warehouse\Inventory::sum('quantity_available') ?: 0; $damagedQtyTotal = \App\Models\DamagedItem::sum('quantity') ?: 0; $totalStockValue = \App\Models\Warehouse\Inventory::sum('total_value') ?: 0; $lowStockCount = \App\Models\Warehouse\Inventory::join('items', 'inventory.item_id', '=', 'items.id') ->where('items.reorder_point', '>', 0) ->where('inventory.quantity_available', '>', 0) ->whereColumn('inventory.quantity_available', '<=', 'items.reorder_point') ->count(); $recentMovementsCount = \App\Models\Warehouse\StockMovement::where('created_at', '>=', now()->subDays(7))->count(); @endphp
trending_up Stock Movement Trends
donut_large Category Distribution
business Division Distribution
filter_list Filters
list Current Inventory Levels
entries
Item Category Division Current Stock Min Level Reserved Value Status Last Movement Actions
@endsection @push('styles') @endpush @push('scripts') @endpush