Removed email method from characteristic approver master resource page and added logic multiple mail in trigger pending approval mail page
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Has been cancelled
Gemini PR Review / Gemini PR Review (pull_request) Has been cancelled
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Has been cancelled
Laravel Larastan / larastan (pull_request) Has been cancelled
Laravel Pint / pint (pull_request) Has been cancelled

This commit is contained in:
dhanabalan
2026-04-09 09:05:52 +05:30
parent 97f93c7938
commit f5014af3ea
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);
}), }),