add date to eventParticipationCancelled mail
This commit is contained in:
@@ -108,6 +108,8 @@ class EventsController extends Controller
|
||||
'name' => $user->name,
|
||||
'lastname' => $user->lastname,
|
||||
'eventName' => $event->name,
|
||||
'start' => $event->start,
|
||||
'end' => $event->end,
|
||||
];
|
||||
Mail::to($user->email)->send(new EventParticipationCancelledMail($data));
|
||||
|
||||
|
||||
@@ -43,6 +43,8 @@ class EventParticipationCancelledMail extends Mailable
|
||||
'name' => $this->data['name'],
|
||||
'lastname' => $this->data['lastname'],
|
||||
'eventName' => $this->data['eventName'],
|
||||
'start' => $this->data['start'],
|
||||
'end' => $this->data['end'],
|
||||
]
|
||||
);
|
||||
}
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
<p>
|
||||
L’événement {{ $eventName }} a été supprimé par un administrateur.
|
||||
Vous n’y participez donc plus.
|
||||
Vous n’y participez donc plus. Cet événement avait lieu de {{ $start }} à {{ $end }}.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
<p>
|
||||
Vous avez été désassigné de la tâche {{ $taskName }} par un administrateur.
|
||||
Cette tâche avait lieu de {{ $start }} à {{ $end }}. Vous n'y participez donc plus.
|
||||
Vous n'y participez donc plus. Cette tâche avait lieu de {{ $start }} à {{ $end }}.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
|
||||
Reference in New Issue
Block a user