Added panel box alert options in alert mail page
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 14s
Gemini PR Review / Gemini PR Review (pull_request) Failing after 18s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 12s
Laravel Pint / pint (pull_request) Successful in 3m50s
Laravel Larastan / larastan (pull_request) Failing after 8m38s

This commit is contained in:
dhanabalan
2026-09-04 14:58:49 +05:30
parent 19632fde79
commit 4a90bc7b82

View File

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