Added logic for characteristics not found halting record
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 16s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 16s
Gemini PR Review / Gemini PR Review (pull_request) Failing after 20s
Laravel Pint / pint (pull_request) Successful in 2m8s
Laravel Larastan / larastan (pull_request) Failing after 3m39s

This commit is contained in:
dhanabalan
2026-07-04 09:04:06 +05:30
parent 6180cdda52
commit cc75016575

View File

@@ -65,8 +65,15 @@ class CreatePanelBoxValidation extends CreateRecord {
$this->showChecklist = true;
$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)