Merge pull request #5951 from turbo124/v5-develop

Fixes for company import mailer
This commit is contained in:
David Bomba 2021-06-08 11:02:47 +10:00 committed by GitHub
commit e1de296462
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -58,6 +58,6 @@ class CompanyImportFailure extends Mailable
return $this->from(config('mail.from.address'), config('mail.from.name')) return $this->from(config('mail.from.address'), config('mail.from.name'))
->subject(ctrans('texts.company_import_failure_subject', ['company' => $this->company->present()->name()])) ->subject(ctrans('texts.company_import_failure_subject', ['company' => $this->company->present()->name()]))
->view('email.import.import_failure'); ->view('email.import.import_failure', ['user_message' => $this->user_message, 'title' => $this->title]);
} }
} }

View File

@ -4,7 +4,7 @@
@include('email.components.header', ['logo' => $logo]) @include('email.components.header', ['logo' => $logo])
@endslot @endslot
<h2>{{ctrans('texts.company_import_failure_subject')}}</h2> <h2>{{ $title }}</h2>
<p>{{ctrans('texts.company_import_failure_body')}}</p> <p>{{ctrans('texts.company_import_failure_body')}}</p>