translate base
This commit is contained in:
@@ -31,11 +31,11 @@ class VacationApprovedNotification extends Notification implements ShouldQueue
|
||||
$employee = $this->vacation->employee;
|
||||
|
||||
return (new MailMessage)
|
||||
->subject('Vacation Request Approved')
|
||||
->line("The vacation request for {$employee->full_name} has been approved.")
|
||||
->line("Type: {$this->vacation->type->label()}")
|
||||
->line("Dates: {$this->vacation->start_date->toDateString()} to {$this->vacation->end_date->toDateString()}")
|
||||
->line("Days: {$this->vacation->days}");
|
||||
->subject(__('notifications.vacation_approved.subject'))
|
||||
->line(__('notifications.vacation_approved.line_approved', ['name' => $employee->full_name]))
|
||||
->line(__('notifications.vacation_approved.type') . ': ' . $this->vacation->type->label())
|
||||
->line(__('notifications.vacation_approved.dates') . ': ' . $this->vacation->start_date->toDateString() . ' – ' . $this->vacation->end_date->toDateString())
|
||||
->line(__('notifications.vacation_approved.days') . ': ' . $this->vacation->days);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user