1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-20 16:31:33 +02:00

Fixes for company import mailer

This commit is contained in:
David Bomba 2021-06-08 11:02:32 +10:00
parent 81c2230296
commit ca4fbabf7d
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'))
->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])
@endslot
<h2>{{ctrans('texts.company_import_failure_subject')}}</h2>
<h2>{{ $title }}</h2>
<p>{{ctrans('texts.company_import_failure_body')}}</p>