diff --git a/app/Mail/Import/CompanyImportFailure.php b/app/Mail/Import/CompanyImportFailure.php index 5642913520..298579adda 100644 --- a/app/Mail/Import/CompanyImportFailure.php +++ b/app/Mail/Import/CompanyImportFailure.php @@ -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]); } } diff --git a/resources/views/email/import/import_failure.blade.php b/resources/views/email/import/import_failure.blade.php index d22b3b610e..92ec47d210 100644 --- a/resources/views/email/import/import_failure.blade.php +++ b/resources/views/email/import/import_failure.blade.php @@ -4,7 +4,7 @@ @include('email.components.header', ['logo' => $logo]) @endslot -
{{ctrans('texts.company_import_failure_body')}}