1
0
forked from poc/pds

Added duplicate order logic in wire master prinitng

This commit is contained in:
dhanabalan
2026-05-15 11:47:19 +05:30
parent adfce88a3e
commit 8b9901c27d

View File

@@ -164,7 +164,7 @@ class CreateWireMasterPacking extends CreateRecord
return;
}
$processOrderAgaPlant = WireMasterPacking::where('process_order', $processOrderId)->where('plant_id', $plantId)->first();
$processOrderAgaPlant = WireMasterPacking::where('process_order', $processOrderId . '-' . $coilNo)->where('plant_id', $plantId)->first();
if($processOrderAgaPlant)
{