Added order by id logic in panel box validation #901

Merged
jothi merged 1 commits from ranjith-dev into master 2026-08-18 09:59:12 +00:00
Showing only changes of commit a8bd7a781c - Show all commits

View File

@@ -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();