mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-13 06:32:40 +01:00
Merge pull request #5954 from turbo124/v5-develop
Assign public property to $messag
This commit is contained in:
commit
764e23dd0b
@ -288,6 +288,7 @@ class CompanyImport implements ShouldQueue
|
|||||||
$nmo->to_user = $this->company->owner();
|
$nmo->to_user = $this->company->owner();
|
||||||
NinjaMailerJob::dispatchNow($nmo);
|
NinjaMailerJob::dispatchNow($nmo);
|
||||||
|
|
||||||
|
nlog($this->message);
|
||||||
throw new \Exception($this->message);
|
throw new \Exception($this->message);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -56,6 +56,8 @@ class CompanyImportFailure extends Mailable
|
|||||||
$this->title = ctrans('texts.company_import_failure_subject', ['company' => $this->company->present()->name()]);
|
$this->title = ctrans('texts.company_import_failure_subject', ['company' => $this->company->present()->name()]);
|
||||||
$this->whitelabel = $this->company->account->isPaid();
|
$this->whitelabel = $this->company->account->isPaid();
|
||||||
|
|
||||||
|
nlog($this->user_message);
|
||||||
|
|
||||||
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', ['user_message' => $this->user_message, 'title' => $this->title]);
|
->view('email.import.import_failure', ['user_message' => $this->user_message, 'title' => $this->title]);
|
||||||
|
Loading…
Reference in New Issue
Block a user