feat: calculate number of days for email reminder
This commit is contained in:
1 parent
029029db11
commit
7ee94fa193
3 files changed
+9
-6
No files matched your search
@@ -55,10 +55,11 @@ class DispositionReminderService
|
||||
|
||||
$this->mailer->createAndSendEmail([
|
||||
'disposition' => $disposition,
|
||||
'diffInDays' => 5,
|
||||
], [
|
||||
'to' => $teamer->getCommunication()->getEmail(),
|
||||
'subject' => 'Reminder: Dein Einsatz '.$destination,
|
||||
'template' => 'email/reminder_pre_disposition.html.twig',
|
||||
'template' => 'email/reminder_disposition.html.twig',
|
||||
]);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user