Merge pull request 'solve dbug in query this week in item overview' (#1339) from ranjith-dev into master
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Has been cancelled
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Has been cancelled
Reviewed-on: #1339
This commit was merged in pull request #1339.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user