Merge pull request 'Removed email method from characteristic approver master resource page and added logic multiple mail in trigger pending approval mail page' (#515) from ranjith-dev into master
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Has been cancelled

Reviewed-on: #515
This commit was merged in pull request #515.
This commit is contained in:
2026-04-09 03:36:12 +00:00
2 changed files with 3 additions and 4 deletions

View File

@@ -371,7 +371,9 @@ class TriggerPendingApprovalMails extends Command
$subjectLine = 'Quality Approval Mail'; $subjectLine = 'Quality Approval Mail';
Mail::to($mail)->send( $emails = array_map('trim', explode(',', $mail));
Mail::to($emails)->send(
new CharacteristicApprovalMail( new CharacteristicApprovalMail(
$first, $first,
$name, $name,

View File

@@ -168,7 +168,6 @@ class CharacteristicApproverMasterResource extends Resource
->required() ->required()
->suffixIcon('heroicon-m-envelope') ->suffixIcon('heroicon-m-envelope')
->suffixIconColor('primary') ->suffixIconColor('primary')
->email()
->afterStateUpdated(function ($state, callable $set) { ->afterStateUpdated(function ($state, callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
@@ -205,7 +204,6 @@ class CharacteristicApproverMasterResource extends Resource
->reactive() ->reactive()
->suffixIcon('heroicon-m-envelope') ->suffixIcon('heroicon-m-envelope')
->suffixIconColor('primary') ->suffixIconColor('primary')
->email()
->afterStateUpdated(function ($state, callable $set) { ->afterStateUpdated(function ($state, callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
@@ -238,7 +236,6 @@ class CharacteristicApproverMasterResource extends Resource
->reactive() ->reactive()
->suffixIcon('heroicon-m-envelope') ->suffixIcon('heroicon-m-envelope')
->suffixIconColor('primary') ->suffixIconColor('primary')
->email()
->afterStateUpdated(function ($state, callable $set) { ->afterStateUpdated(function ($state, callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),