Merge pull request 'intialize variable of plan quan in production mail' (#1230) from ranjith-dev into master
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 15s

Reviewed-on: #1230
This commit was merged in pull request #1230.
This commit is contained in:
2026-10-12 11:14:39 +00:00

View File

@@ -299,6 +299,9 @@ class SendProductionReport extends Command
$efficiency = 0;
}
$dayShiftPlanQuan = 0;
$nightShiftPlanQuan = 0;
if($line->shift_flag == '0'){
$dayShiftPlanQuan = ($totalTargetQuantity / 2);
$nightShiftPlanQuan = ($totalTargetQuantity / 2);