This commit is contained in:
EwelinaLasowy
2022-02-21 13:03:09 +01:00
parent 64c99f4632
commit d04c61481c
14 changed files with 34 additions and 33 deletions

View File

@@ -46,8 +46,8 @@ class VacationRequestApprovedNotification extends Notification
$user = $this->user->first_name;
$title = $this->vacationRequest->name;
$type = $this->vacationRequest->type->label();
$from = $this->vacationRequest->from->format("d.m.Y");
$to = $this->vacationRequest->to->format("d.m.Y");
$from = $this->vacationRequest->from->toDisplayDate();
$to = $this->vacationRequest->to->toDisplayDate();
$days = $this->vacationRequest->vacations()->count();
$requester = $this->vacationRequest->user->fullName;