Added logic for characteristics not found halting record #798

Merged
jothi merged 1 commits from ranjith-dev into master 2026-07-04 03:34:35 +00:00

View File

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