From 66c64227b076bc3bc5f1c694909302ca177eda11 Mon Sep 17 00:00:00 2001 From: dhanabalan Date: Mon, 12 Oct 2026 16:44:24 +0530 Subject: [PATCH] intialize variable of plan quan in production mail --- app/Console/Commands/SendProductionReport.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/Console/Commands/SendProductionReport.php b/app/Console/Commands/SendProductionReport.php index bd01d47f..78da8476 100644 --- a/app/Console/Commands/SendProductionReport.php +++ b/app/Console/Commands/SendProductionReport.php @@ -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);