1
0
forked from poc/pds

changed logici n production mail report

This commit is contained in:
dhanabalan
2025-07-10 15:08:32 +05:30
parent 3c9cc702d4
commit 4311c64531
4 changed files with 164 additions and 244 deletions

View File

@@ -9,4 +9,14 @@ use Filament\Resources\Pages\CreateRecord;
class CreateAlertMailRule extends CreateRecord
{
protected static string $resource = AlertMailRuleResource::class;
protected function mutateFormDataBeforeCreate(array $data): array
{
if ($data['is_active']) {
$data['plant'] = '0';
}
return $data;
}
}