Merge pull request 'added notification for characteritics not found in panel box validation' (#965) from ranjith-dev into master
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 21s

Reviewed-on: #965
This commit was merged in pull request #965.
This commit is contained in:
2026-08-29 05:56:43 +00:00

View File

@@ -74,14 +74,14 @@ class CreatePanelBoxValidation extends CreateRecord {
// return $data;
// }
if(($data['serial_exists']) == true){
$this->halt();
}
if ($this->checkIfHasCharacteristics($data) && ($data['serial_exists']) == false) {
$this->showChecklist = true;
$this->halt();
}
if(($data['serial_exists']) == true){
$this->halt();
}
else{
if(!$this->checkIfHasCharacteristics($data) && ($data['serial_exists']) == false){
\Filament\Notifications\Notification::make()
->title('Characteristics not found for the scanned item.')
->danger()