translate base
This commit is contained in:
@@ -29,9 +29,12 @@ class EmployeeTerminatedNotification extends Notification implements ShouldQueue
|
||||
public function toMail(object $notifiable): MailMessage
|
||||
{
|
||||
return (new MailMessage)
|
||||
->subject('Employee Terminated')
|
||||
->line("{$this->employee->full_name} ({$this->employee->employee_number}) has been terminated.")
|
||||
->line("Termination date: {$this->employee->termination_date?->toDateString()}");
|
||||
->subject(__('notifications.employee_terminated.subject'))
|
||||
->line(__('notifications.employee_terminated.line_terminated', [
|
||||
'name' => $this->employee->full_name,
|
||||
'number' => $this->employee->employee_number,
|
||||
]))
|
||||
->line(__('notifications.employee_terminated.termination_date') . ': ' . $this->employee->termination_date?->toDateString());
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user