1
0
forked from poc/pds

Merge pull request 'Added duplicate order logic in wire master prinitng' (#601) from ranjith-dev into master

Reviewed-on: poc/pds#601
This commit is contained in:
2026-05-15 06:17:42 +00:00

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)
{