diff --git a/app/Filament/Pages/PanelBoxInspectionStock.php b/app/Filament/Pages/PanelBoxInspectionStock.php index 20eeeb40..6e5f0b66 100644 --- a/app/Filament/Pages/PanelBoxInspectionStock.php +++ b/app/Filament/Pages/PanelBoxInspectionStock.php @@ -450,9 +450,10 @@ class PanelBoxInspectionStock extends Page if ($serialExists) { Notification::make() ->title('Duplicate Serial Number') - ->body("Serial number already exists '$serialNumber' with supplier number '$supplier'.") + ->body("Serial number already exists '$serialNumber' with supplier number '$supplier'.
Please scan this serial number in Invoice Validation.") ->danger() ->send(); + $this->dispatch('play-error-sound'); $this->form->fill([ 'plant_id' => $plantId, 'line_id' => $lineId, diff --git a/resources/views/filament/pages/panel-box-inspection-stock.blade.php b/resources/views/filament/pages/panel-box-inspection-stock.blade.php index b2ff54f9..fb184b91 100644 --- a/resources/views/filament/pages/panel-box-inspection-stock.blade.php +++ b/resources/views/filament/pages/panel-box-inspection-stock.blade.php @@ -6,4 +6,21 @@ + + + +