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)
|
$this->existingRecords = ProductCharacteristicsMaster::where('plant_id', $plantId)
|
||||||
->where('category', $categoryName)
|
->where('category', $categoryName)
|
||||||
->where('line_id', $lineId)
|
->where('line_id', $lineId)
|
||||||
|
->orderBy('id', 'asc')
|
||||||
->get();
|
->get();
|
||||||
|
|
||||||
return $this->existingRecords->isNotEmpty();
|
return $this->existingRecords->isNotEmpty();
|
||||||
|
|||||||
Reference in New Issue
Block a user