feat: include jobprofile placeholder in email texts
addresses #869armp40
This commit is contained in:
@@ -240,6 +240,7 @@ class EmailNotificationSubscriber implements EventSubscriberInterface
|
||||
|
||||
$this->mailer->createAndSendText(EmailTextKey::DISPOSITION_CALLED_OFF, [
|
||||
'destination' => (string) $disposition->getAssignment()->getDestination(),
|
||||
'jobProfile' => $disposition->getAssignment()->getJobProfile()?->getName(),
|
||||
'reason' => $disposition->getCalledOffReason(),
|
||||
], [
|
||||
'to' => $teamer->getCommunication()->getEmail(),
|
||||
@@ -261,6 +262,7 @@ class EmailNotificationSubscriber implements EventSubscriberInterface
|
||||
|
||||
$this->mailer->createAndSendText(EmailTextKey::ASSIGNMENT_CALLED_OFF, [
|
||||
'destination' => (string) $assignment->getDestination(),
|
||||
'jobProfile' => $assignment->getJobProfile()?->getName(),
|
||||
], [
|
||||
'to' => $teamer->getCommunication()->getEmail(),
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user