Added duplicate order logic in wire master prinitng #601

Merged
jothi merged 1 commits from ranjith-dev into master 2026-05-15 06:17:42 +00:00

View File

@@ -164,7 +164,7 @@ class CreateWireMasterPacking extends CreateRecord
return; 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) if($processOrderAgaPlant)
{ {