From 5e1dc9aff676bb888d575dd1f46f850dca42b52c Mon Sep 17 00:00:00 2001 From: dhanabalan Date: Tue, 29 Sep 2026 11:01:02 +0530 Subject: [PATCH] Added floor for efficiency in production report --- app/Console/Commands/SendProductionReport.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Console/Commands/SendProductionReport.php b/app/Console/Commands/SendProductionReport.php index 7c1c43d..477230d 100644 --- a/app/Console/Commands/SendProductionReport.php +++ b/app/Console/Commands/SendProductionReport.php @@ -286,10 +286,10 @@ class SendProductionReport extends Command 'capacityQuantity' => floor($capacityQuan), 'dayShiftPlanQuantity' => floor($dayShiftPlanQuan), 'dayShiftActualQuantity' => floor($dayproductionQuantity), - 'dayShiftEfficiency' => $dayShiftEfficiency . '%', + 'dayShiftEfficiency' => floor($dayShiftEfficiency) . '%', 'nightShiftPlanQuantity' => floor($nightShiftPlanQuan), 'nightShiftActualQuantity' => floor($nightproductionQuantity), - 'nightShiftEfficiency' => $nightShiftEfficiency . '%', + 'nightShiftEfficiency' => floor($nightShiftEfficiency) . '%', 'targetQuantity' => floor($totalTargetQuantity), 'productionQuantity' => $productionQuantity, 'efficiency' => $efficiency . '%',