1
0
forked from poc/pds

Added received quan production report

This commit is contained in:
dhanabalan
2026-09-29 11:26:15 +05:30
parent c834831035
commit ee3582904f

View File

@@ -240,7 +240,7 @@ class SendProductionReport extends Command
$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])
->count(); ->sum('received_quantity');
} }
else { else {