1
0
forked from poc/pds

Added else if in production report

This commit is contained in:
dhanabalan
2026-09-29 11:38:11 +05:30
parent ee3582904f
commit 7eeef6d6a1

View File

@@ -236,7 +236,7 @@ class SendProductionReport extends Command
->count(); ->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) $productionQuantity = \App\Models\ProcessOrder::where('plant_id', $plant->id)
->where('line_id', $line->id) ->where('line_id', $line->id)
->whereBetween('created_at', [$startDate, $endDate]) ->whereBetween('created_at', [$startDate, $endDate])