Compare commits
2 Commits
528914e2d0
...
837b936b51
| Author | SHA1 | Date | |
|---|---|---|---|
| 837b936b51 | |||
|
|
5afc8afa1a |
@@ -302,6 +302,10 @@ class ProcessOrderImporter extends Importer
|
||||
]
|
||||
);
|
||||
} else {// $coilNo = '0'
|
||||
if ($existing->rework_status == 1 && $reworkStatus == 0) {
|
||||
throw new RowImportFailedException('Rework coil number already exist for the given Plant and Process Order!');
|
||||
}
|
||||
|
||||
ProcessOrder::where('plant_id', $plantId)
|
||||
->where('process_order', $processOrder)
|
||||
->where('coil_number', $coilNo)
|
||||
|
||||
Reference in New Issue
Block a user