changed logic in monthly actual quantity in target
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 25s
Gemini PR Review / Gemini PR Review (pull_request) Failing after 25s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 13s
Laravel Pint / pint (pull_request) Successful in 3m45s
Laravel Larastan / larastan (pull_request) Failing after 7m4s

This commit is contained in:
dhanabalan
2026-10-01 18:12:52 +05:30
parent 80547e2e04
commit 7237466a00

View File

@@ -645,7 +645,7 @@ class ProductionTargetPlan extends Component
->whereMonth('created_at', $month)
->sum('plan_quantity');
$this->monthlyActualQuantity = ProductionPlan::where('plant_id', $plantId)
$this->monthlyActualQuantity = QualityValidation::where('plant_id', $plantId)
->where('line_id', $lineId)
->whereYear('created_at', $year)
->whereMonth('created_at', $month)