From cf5cfac55579021ff11536b306cfd2f89025923f Mon Sep 17 00:00:00 2001 From: dhanabalan Date: Thu, 31 Jul 2025 13:53:41 +0530 Subject: [PATCH] Removed unwanted lines for production send 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 3d02bdfa3..edf132f0f 100644 --- a/app/Console/Commands/SendProductionReport.php +++ b/app/Console/Commands/SendProductionReport.php @@ -204,7 +204,7 @@ class SendProductionReport extends Command ->whereBetween('created_at', [$PlanstartDate, $planendDate]) ->sum('plan_quantity'); - if (strtolower($line->type) === 'fg line') { + if (strtolower($line->type) == 'fg line') { $productionQuantity = \App\Models\QualityValidation::where('plant_id', $plant->id) ->where('line_id', $line->id) ->whereBetween('created_at', [$startDate, $endDate])