diff --git a/app/Filament/Widgets/ItemOverview.php b/app/Filament/Widgets/ItemOverview.php index 357aa363..82badf65 100644 --- a/app/Filament/Widgets/ItemOverview.php +++ b/app/Filament/Widgets/ItemOverview.php @@ -153,7 +153,7 @@ class ItemOverview extends ChartWidget if (in_array($activeFilter, ['today', 'yesterday'])) { // Get total monthly plan quantity - $monthlyPlanQuantity = \DB::table('YOUR_ACTUAL_PLAN_TABLE') + $monthlyPlanQuantity = \DB::table('production_plans') ->where('plant_id', $selectedPlant) ->where('line_id', $selectedLine) ->whereYear('created_at', $startDate->year)