FIX_ACM_BCC_MAIL
This commit is contained in:
parent
494885c5ab
commit
e27e9a7e4d
@ -3269,6 +3269,11 @@ class EmployeeController extends AdminController
|
||||
$clientPolicy = $this->clientPolicyModel->find($filePolicyId);
|
||||
$clientLogo = base_url() . 'public/uploads/logo/' . ($clientData['client_logo'] ?? '');
|
||||
|
||||
$acm_Mails = $clientData['common_mails'] ?? '';
|
||||
if(empty($acm_Mails)){
|
||||
log_message('error', 'No ACM mails found for client in the enrollment closed HR inception file send cron job' . $fileClientId);
|
||||
}
|
||||
|
||||
$enrollmentOpenDate = !empty($file['enrollment_open_date'])
|
||||
? change_date_format($file['enrollment_open_date'], 'Y-m-d', 'F d, Y')
|
||||
: 'N/A';
|
||||
@ -3309,6 +3314,7 @@ class EmployeeController extends AdminController
|
||||
|
||||
$mailResult = MailHelper::send_email([
|
||||
'mail' => $hrEmail,
|
||||
'bcc' => $acm_Mails ?? "",
|
||||
'subject' => $subject,
|
||||
'message' => $html,
|
||||
'attachments' => [$excelAttachment],
|
||||
|
||||
Loading…
Reference in New Issue
Block a user