Added logic for base fg line non planned production quantities #1461

Merged
jothi merged 1 commits from ranjith-dev into master 2026-11-18 04:46:15 +00:00

View File

@@ -332,6 +332,12 @@ class SendProductionReport extends Command
->where('line_id', $line->id)
->whereBetween('created_at', [$startDate, $endDate])
->count();
$nonPlannedproductionQuantity = ProductionQuantity::where('plant_id', $plant->id)
->where('line_id', $line->id)
->whereNotIn('item_id', $itemIds)
->whereBetween('created_at', [$startDate, $endDate])
->count();
}
if ($productionQuantity > 0) {