diff --git a/app/Filament/Widgets/ItemOverview.php b/app/Filament/Widgets/ItemOverview.php index cca295bb..9c8e9e37 100644 --- a/app/Filament/Widgets/ItemOverview.php +++ b/app/Filament/Widgets/ItemOverview.php @@ -185,7 +185,7 @@ class ItemOverview extends ChartWidget elseif ($activeFilter === 'this_week') { // Get the total plan quantity for the current month - $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)