Merge pull request 'Added options in module and rule name in alert mail page' (#897) from ranjith-dev into master
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 41s

Reviewed-on: #897
This commit was merged in pull request #897.
This commit is contained in:
2026-08-18 06:06:44 +00:00

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