#90 - cr fixes
This commit is contained in:
@@ -92,7 +92,7 @@ class VacationRequestCreatedNotification extends Notification
|
||||
return __("The vacation request :title has been created correctly by user :creator on your behalf in the :appName.", [
|
||||
"title" => $this->vacationRequest->name,
|
||||
"appName" => $appName,
|
||||
"creator" => $this->vacationRequest->creator->profile->fullName,
|
||||
"creator" => $this->vacationRequest->creator->profile->full_name,
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
@@ -49,7 +49,7 @@ class VacationRequestStatusChangedNotification extends Notification
|
||||
$from = $this->vacationRequest->from->toDisplayString();
|
||||
$to = $this->vacationRequest->to->toDisplayString();
|
||||
$days = $this->vacationRequest->vacations()->count();
|
||||
$requester = $this->vacationRequest->user->profile->fullName;
|
||||
$requester = $this->vacationRequest->user->profile->full_name;
|
||||
|
||||
return (new MailMessage())
|
||||
->greeting(__("Hi :user!", [
|
||||
|
@@ -84,7 +84,7 @@ class VacationRequestWaitsForApprovalNotification extends Notification
|
||||
protected function buildDescription(): string
|
||||
{
|
||||
$title = $this->vacationRequest->name;
|
||||
$requester = $this->vacationRequest->user->profile->fullName;
|
||||
$requester = $this->vacationRequest->user->profile->full_name;
|
||||
|
||||
if ($this->vacationRequest->state->equals(WaitingForTechnical::class)) {
|
||||
return __("The vacation request :title from user :requester is waiting for your technical approval.", [
|
||||
|
Reference in New Issue
Block a user