Improve transactional emails
This commit is contained in:
@@ -51,16 +51,16 @@ class AppointmentCancelled extends Notification
|
||||
// TODO: Switch to HTML & Blade.
|
||||
|
||||
return (new MailMessage)
|
||||
->salutation("Hi " . $notifiable->name . ",")
|
||||
->from(config('notification.sender.address'), config('notification.sender.name'))
|
||||
->subject(config('app.name').' - Interview Cancelled')
|
||||
->greeting("Hi " . explode(' ', $this->application->user->name, 2)[0] . ",")
|
||||
->line('The interview that was previously scheduled with you has been cancelled by a staff member.')
|
||||
->line('Date & time of the old appointment: '.$this->appointmentDate)
|
||||
->subject(config('app.name').' - interview cancelled')
|
||||
->line('The interview that was previously scheduled with you has been cancelled.')
|
||||
->line('Date and time of the old appointment: '.$this->appointmentDate)
|
||||
->line('Your appointment was cancelled for the following reason: ' . $this->reason)
|
||||
->line('A staff member may contact you to reschedule within a new timeframe - you may also let us know of a date and time that suits you.')
|
||||
->line('Your application will be automatically rejected within 7 days if an interview is not scheduled.')
|
||||
->action('View ongoing applications', url(route('showUserApps')))
|
||||
->line('Thank you!');
|
||||
->line('A team member may contact you to reschedule within a new timeframe - you may also let us know of a date and time that suits you.')
|
||||
->line('Your application will likely be declined if you do not reschedule an interview.')
|
||||
->action('View active applications', url(route('showUserApps')))
|
||||
->line('The team at ' . config('app.name'));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user