translate base
This commit is contained in:
@@ -31,11 +31,11 @@ class DisciplinaryReportCreatedNotification extends Notification implements Shou
|
||||
$employee = $this->report->employee;
|
||||
|
||||
return (new MailMessage)
|
||||
->subject('New Disciplinary Report Created')
|
||||
->line("A new disciplinary report has been created for {$employee->full_name}.")
|
||||
->line("Title: {$this->report->title}")
|
||||
->line("Severity: {$this->report->severity->label()}")
|
||||
->line("Date: {$this->report->report_date->toDateString()}");
|
||||
->subject(__('notifications.disciplinary_report_created.subject'))
|
||||
->line(__('notifications.disciplinary_report_created.line_created', ['name' => $employee->full_name]))
|
||||
->line(__('notifications.disciplinary_report_created.title') . ': ' . $this->report->title)
|
||||
->line(__('notifications.disciplinary_report_created.severity') . ': ' . $this->report->severity->label())
|
||||
->line(__('notifications.disciplinary_report_created.date') . ': ' . $this->report->report_date->toDateString());
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user