Merge pull request 'Added order by id logic in panel box validation' (#901) from ranjith-dev into master
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 26s

Reviewed-on: #901
This commit was merged in pull request #901.
This commit is contained in:
2026-08-18 09:59:11 +00:00

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