mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fixes for company import mailer
This commit is contained in:
parent
81c2233d3b
commit
5540f690c0
@ -53,12 +53,11 @@ class CompanyImportFailure extends Mailable
|
|||||||
{
|
{
|
||||||
$this->settings = $this->company->settings;
|
$this->settings = $this->company->settings;
|
||||||
$this->logo = $this->company->present()->logo();
|
$this->logo = $this->company->present()->logo();
|
||||||
$this->title = ctrans('texts.max_companies');
|
$this->title = ctrans('texts.company_import_failure_subject', ['company' => $this->company->present()->name()]);
|
||||||
$this->message = ctrans('texts.max_companies_desc');
|
|
||||||
$this->whitelabel = $this->company->account->isPaid();
|
$this->whitelabel = $this->company->account->isPaid();
|
||||||
|
|
||||||
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'))
|
->subject(ctrans('texts.company_import_failure_subject', ['company' => $this->company->present()->name()]))
|
||||||
->view('email.migration.max_companies');
|
->view('email.import.import_failure');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user