Added order by id logic in panel box validation #901
@@ -98,6 +98,7 @@ class CreatePanelBoxValidation extends CreateRecord {
|
||||
$this->existingRecords = ProductCharacteristicsMaster::where('plant_id', $plantId)
|
||||
->where('category', $categoryName)
|
||||
->where('line_id', $lineId)
|
||||
->orderBy('id', 'asc')
|
||||
->get();
|
||||
|
||||
return $this->existingRecords->isNotEmpty();
|
||||
|
||||
Reference in New Issue
Block a user