Merge pull request 'Added logic for characteristics not found halting record' (#798) from ranjith-dev into master
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 24s
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 24s
Reviewed-on: #798
This commit was merged in pull request #798.
This commit is contained in:
@@ -65,8 +65,15 @@ class CreatePanelBoxValidation extends CreateRecord {
|
|||||||
$this->showChecklist = true;
|
$this->showChecklist = true;
|
||||||
$this->halt();
|
$this->halt();
|
||||||
}
|
}
|
||||||
|
else{
|
||||||
|
\Filament\Notifications\Notification::make()
|
||||||
|
->title('Characteristics not found for the scanned item.')
|
||||||
|
->danger()
|
||||||
|
->send();
|
||||||
|
$this->halt();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
return $data;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function checkIfHasCharacteristics(array $data)
|
protected function checkIfHasCharacteristics(array $data)
|
||||||
|
|||||||
Reference in New Issue
Block a user