From 4a90bc7b8260ccb1c3ee89a9431bd8fdc3883326 Mon Sep 17 00:00:00 2001 From: dhanabalan Date: Fri, 4 Sep 2026 14:58:49 +0530 Subject: [PATCH] Added panel box alert options in alert mail page --- app/Filament/Resources/AlertMailRuleResource.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/app/Filament/Resources/AlertMailRuleResource.php b/app/Filament/Resources/AlertMailRuleResource.php index 977a9f0..a88096a 100644 --- a/app/Filament/Resources/AlertMailRuleResource.php +++ b/app/Filament/Resources/AlertMailRuleResource.php @@ -72,6 +72,7 @@ class AlertMailRuleResource extends Resource Forms\Components\Select::make('module') ->label('Module') ->required() + ->searchable() ->options([ 'InvoiceValidation' => 'InvoiceValidation', 'InvoiceDataReport' => 'InvoiceDataReport', @@ -83,9 +84,12 @@ class AlertMailRuleResource extends Resource 'ExportDispatchReport' => 'ExportDispatchReport', 'LaserStopAlert' => 'LaserStopAlert', 'LaserStopReport' => 'LaserStopReport', + 'PanelBoxAlert' => 'PanelBoxAlert', + 'PanelBoxReport' => 'PanelBoxReport', ]), Forms\Components\Select::make('rule_name') ->label('Rule Name') + ->searchable() ->options([ 'InvoiceMail' => 'Invoice Mail', 'SerialInvoiceMail' => 'Serial Invoice Mail', @@ -98,7 +102,9 @@ class AlertMailRuleResource extends Resource 'VehicleReportMail' => 'Vehicle Report Mail', 'ExportDispatchReportMail' => 'Export Dispatch Report Mail', 'LaserStopAlertMail' => 'Laser Stop Alert Mail', - 'LaserStopMail' => 'Laser Stop Report Mail' + 'LaserStopMail' => 'Laser Stop Report Mail', + 'PanelBoxAlertMail' => 'Panel Box Alert Mail', + 'PanelBoxNotOkReportMail' => 'Panel Box Not Ok Report Mail' ]) ->required(), Forms\Components\TextInput::make('email') -- 2.49.1