remove spaces
This commit is contained in:
@@ -43,13 +43,13 @@ class TaskDateUpdated extends Notification implements ShouldBroadcast
|
||||
public function toDatabase($notifiable): array
|
||||
{
|
||||
return [
|
||||
'message' => "La date de la tâche {$this->task->name} de l'événement {$this->event->name} a été mise à jour. Cette tâche aura maintenant lieu du {$this->newStart} au {$this->newEnd}.",
|
||||
'task_id' => $this->task->id,
|
||||
'message' => "La date de la tâche {$this->task->name} de l'événement {$this->event->name} a été mise à jour. Cette tâche aura maintenant lieu du {$this->newStart} au {$this->newEnd}.",
|
||||
'task_id' => $this->task->id,
|
||||
'event_id' => $this->event->id,
|
||||
'old_start' => $this->oldStart,
|
||||
'old_end' => $this->oldEnd,
|
||||
'old_end' => $this->oldEnd,
|
||||
'new_start' => $this->newStart,
|
||||
'new_end' => $this->newEnd,
|
||||
'new_end' => $this->newEnd,
|
||||
];
|
||||
}
|
||||
|
||||
@@ -61,13 +61,13 @@ class TaskDateUpdated extends Notification implements ShouldBroadcast
|
||||
public function toMail($notifiable): void
|
||||
{
|
||||
Mail::to($notifiable->email)->send(new TaskDateUpdateMail([
|
||||
'name' => $notifiable->name,
|
||||
'lastname' => $notifiable->lastname,
|
||||
'taskName' => $this->task->name,
|
||||
'oldStart' => $this->oldStart,
|
||||
'oldEnd' => $this->oldEnd,
|
||||
'newStart' => $this->newStart,
|
||||
'newEnd' => $this->newEnd,
|
||||
'name' => $notifiable->name,
|
||||
'lastname' => $notifiable->lastname,
|
||||
'taskName' => $this->task->name,
|
||||
'oldStart' => $this->oldStart,
|
||||
'oldEnd' => $this->oldEnd,
|
||||
'newStart' => $this->newStart,
|
||||
'newEnd' => $this->newEnd,
|
||||
'eventName' => $this->event->name,
|
||||
]));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user