Added options in module and rule name in alert mail page
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 27s
Gemini PR Review / Gemini PR Review (pull_request) Failing after 17s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 27s
Laravel Pint / pint (pull_request) Successful in 3m2s
Laravel Larastan / larastan (pull_request) Failing after 4m23s

This commit is contained in:
dhanabalan
2026-08-18 11:36:12 +05:30
parent d53addd0ad
commit e7acc56943

View File

@@ -60,7 +60,8 @@ class AlertMailRuleResource extends Resource
'InvoiceTransit' => 'InvoiceTransit', 'InvoiceTransit' => 'InvoiceTransit',
'ImportTransit' => 'ImportTransit', 'ImportTransit' => 'ImportTransit',
'VehicleReport' => 'VehicleReport', 'VehicleReport' => 'VehicleReport',
'ExportDispatchReport' => 'ExportDispatchReport' 'ExportDispatchReport' => 'ExportDispatchReport',
'LaserStopReport' => 'LaserStopReport'
]), ]),
Forms\Components\Select::make('rule_name') Forms\Components\Select::make('rule_name')
->label('Rule Name') ->label('Rule Name')
@@ -74,7 +75,8 @@ class AlertMailRuleResource extends Resource
'InvoiceTransitMail' => 'Invoice Transit Mail', 'InvoiceTransitMail' => 'Invoice Transit Mail',
'ImportTransitMail' => 'Import Transit Mail', 'ImportTransitMail' => 'Import Transit Mail',
'VehicleReportMail' => 'Vehicle Report Mail', 'VehicleReportMail' => 'Vehicle Report Mail',
'ExportDispatchReportMail' => 'Export Dispatch Report Mail' 'ExportDispatchReportMail' => 'Export Dispatch Report Mail',
'LaserStopMail' => 'Laser Stop Mail'
]) ])
->required(), ->required(),
Forms\Components\TextInput::make('email') Forms\Components\TextInput::make('email')