1
0
forked from poc/pds

solve dbug in query this week in item overview

This commit is contained in:
dhanabalan
2026-10-29 11:08:01 +05:30
parent 17c0426dc4
commit fa657ffa35

View File

@@ -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)