#41 - fix
This commit is contained in:
parent
36e9017a9d
commit
9426861522
@ -43,7 +43,7 @@ class VacationRequestApprovedNotification extends Notification
|
|||||||
|
|
||||||
protected function buildMailMessage(string $url): MailMessage
|
protected function buildMailMessage(string $url): MailMessage
|
||||||
{
|
{
|
||||||
$user = $this->vacationRequest->user->first_name;
|
$user = $this->user->first_name;
|
||||||
$title = $this->vacationRequest->name;
|
$title = $this->vacationRequest->name;
|
||||||
$type = $this->vacationRequest->type->label();
|
$type = $this->vacationRequest->type->label();
|
||||||
$from = $this->vacationRequest->from->format("d.m.Y");
|
$from = $this->vacationRequest->from->format("d.m.Y");
|
||||||
|
@ -43,7 +43,7 @@ class VacationRequestCancelledNotification extends Notification
|
|||||||
|
|
||||||
protected function buildMailMessage(string $url): MailMessage
|
protected function buildMailMessage(string $url): MailMessage
|
||||||
{
|
{
|
||||||
$user = $this->vacationRequest->user->first_name;
|
$user = $this->user->first_name;
|
||||||
$title = $this->vacationRequest->name;
|
$title = $this->vacationRequest->name;
|
||||||
$type = $this->vacationRequest->type->label();
|
$type = $this->vacationRequest->type->label();
|
||||||
$from = $this->vacationRequest->from->format("d.m.Y");
|
$from = $this->vacationRequest->from->format("d.m.Y");
|
||||||
|
@ -43,7 +43,7 @@ class VacationRequestRejectedNotification extends Notification
|
|||||||
|
|
||||||
protected function buildMailMessage(string $url): MailMessage
|
protected function buildMailMessage(string $url): MailMessage
|
||||||
{
|
{
|
||||||
$user = $this->vacationRequest->user->first_name;
|
$user = $this->user->first_name;
|
||||||
$title = $this->vacationRequest->name;
|
$title = $this->vacationRequest->name;
|
||||||
$type = $this->vacationRequest->type->label();
|
$type = $this->vacationRequest->type->label();
|
||||||
$from = $this->vacationRequest->from->format("d.m.Y");
|
$from = $this->vacationRequest->from->format("d.m.Y");
|
||||||
|
@ -61,7 +61,7 @@
|
|||||||
"The vacation request :title from user: :requester is waiting for your approval.": "Wniosek urlopowy :title od użytkownika :requester czeka na Twoją akceptację.",
|
"The vacation request :title from user: :requester is waiting for your approval.": "Wniosek urlopowy :title od użytkownika :requester czeka na Twoją akceptację.",
|
||||||
"Vacation request :title has been approved": "Wniosek urlopowy :title został zatwierdzony",
|
"Vacation request :title has been approved": "Wniosek urlopowy :title został zatwierdzony",
|
||||||
"The vacation request :title for user :requester has been approved.": "Wniosek urlopowy :title od użytkownika :requester został zatwierdzony.",
|
"The vacation request :title for user :requester has been approved.": "Wniosek urlopowy :title od użytkownika :requester został zatwierdzony.",
|
||||||
"Vacation request :title has been cancelled": "WNiosek urlopowy :title został anulowany",
|
"Vacation request :title has been cancelled": "Wniosek urlopowy :title został anulowany",
|
||||||
"The vacation request :title for user :requester has been cancelled.": "Wniosek urlopowy :title od użytkownika :requester został anulowany.",
|
"The vacation request :title for user :requester has been cancelled.": "Wniosek urlopowy :title od użytkownika :requester został anulowany.",
|
||||||
"Vacation request :title has been rejected": "Wniosek urlopowy :title został odrzucony",
|
"Vacation request :title has been rejected": "Wniosek urlopowy :title został odrzucony",
|
||||||
"The vacation request :title for user :requester has been rejected.": "Wniosek urlopowy :title od użytkownika :requester został odrzucony."
|
"The vacation request :title for user :requester has been rejected.": "Wniosek urlopowy :title od użytkownika :requester został odrzucony."
|
||||||
|
Loading…
x
Reference in New Issue
Block a user