From 66f9141526f5573bf75becfcdff28e5fb58ad70c Mon Sep 17 00:00:00 2001 From: dhanabalan Date: Mon, 16 Nov 2026 12:04:28 +0530 Subject: [PATCH] solved bug in producton report --- app/Console/Commands/SendProductionReport.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Console/Commands/SendProductionReport.php b/app/Console/Commands/SendProductionReport.php index 36d2a1eb..7f4b25f6 100644 --- a/app/Console/Commands/SendProductionReport.php +++ b/app/Console/Commands/SendProductionReport.php @@ -363,7 +363,7 @@ class SendProductionReport extends Command $dayShiftPlanQuan = 0; $nightShiftPlanQuan = 0; - $isSunday = $endDate->isSunday(); + $isSunday = $startDate->isSunday(); if ($isSunday) { $dayShiftPlanQuan = ($totalTargetQuantity); -- 2.49.1