From 7eeef6d6a12a6716f5ba5ddc6518ff32dc72a8f8 Mon Sep 17 00:00:00 2001 From: dhanabalan Date: Tue, 29 Sep 2026 11:38:11 +0530 Subject: [PATCH] Added else if in production 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 dd4fd0d..d3f3347 100644 --- a/app/Console/Commands/SendProductionReport.php +++ b/app/Console/Commands/SendProductionReport.php @@ -236,7 +236,7 @@ class SendProductionReport extends Command ->count(); } - if(strtolower($line->type) == 'process fg line'){ + else if(strtolower($line->type) == 'process fg line'){ $productionQuantity = \App\Models\ProcessOrder::where('plant_id', $plant->id) ->where('line_id', $line->id) ->whereBetween('created_at', [$startDate, $endDate])