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
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:
@@ -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,
|
||||||
|
|||||||
@@ -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);
|
||||||
}),
|
}),
|
||||||
|
|||||||
Reference in New Issue
Block a user