solve dbug in query this week in item overview #1339

Merged
jothi merged 1 commits from ranjith-dev into master 2026-10-29 05:38:21 +00:00
Showing only changes of commit fa657ffa35 - Show all commits

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)