From 4155d6c43a291e5499d66ff31aecc8ea656098cc Mon Sep 17 00:00:00 2001 From: dhanabalan Date: Tue, 29 Sep 2026 11:46:48 +0530 Subject: [PATCH] solved the bug for previous count shown to some other line in production report --- app/Console/Commands/SendProductionReport.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/Console/Commands/SendProductionReport.php b/app/Console/Commands/SendProductionReport.php index d3f3347..68c0cb3 100644 --- a/app/Console/Commands/SendProductionReport.php +++ b/app/Console/Commands/SendProductionReport.php @@ -149,6 +149,10 @@ class SendProductionReport extends Command foreach ($lines as $line) { + $dayproductionQuantity = 0; + $nightproductionQuantity = 0; + $productionQuantity = 0; + $month = $startDate->month; $year = $startDate->year;