changed logic in item overview
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Has been cancelled
Gemini PR Review / Gemini PR Review (pull_request) Failing after 20s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 14s
Laravel Pint / pint (pull_request) Successful in 6m55s
Laravel Larastan / larastan (pull_request) Failing after 7m55s
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Has been cancelled
Gemini PR Review / Gemini PR Review (pull_request) Failing after 20s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 14s
Laravel Pint / pint (pull_request) Successful in 6m55s
Laravel Larastan / larastan (pull_request) Failing after 7m55s
This commit is contained in:
@@ -153,7 +153,7 @@ class ItemOverview extends ChartWidget
|
|||||||
if (in_array($activeFilter, ['today', 'yesterday'])) {
|
if (in_array($activeFilter, ['today', 'yesterday'])) {
|
||||||
|
|
||||||
// Get total monthly plan quantity
|
// Get total monthly plan quantity
|
||||||
$monthlyPlanQuantity = \DB::table('YOUR_ACTUAL_PLAN_TABLE')
|
$monthlyPlanQuantity = \DB::table('production_plans')
|
||||||
->where('plant_id', $selectedPlant)
|
->where('plant_id', $selectedPlant)
|
||||||
->where('line_id', $selectedLine)
|
->where('line_id', $selectedLine)
|
||||||
->whereYear('created_at', $startDate->year)
|
->whereYear('created_at', $startDate->year)
|
||||||
|
|||||||
Reference in New Issue
Block a user