mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
Assign public property to
This commit is contained in:
parent
330a26ee78
commit
fd7d55dba6
@ -288,6 +288,7 @@ class CompanyImport implements ShouldQueue
|
||||
$nmo->to_user = $this->company->owner();
|
||||
NinjaMailerJob::dispatchNow($nmo);
|
||||
|
||||
nlog($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->whitelabel = $this->company->account->isPaid();
|
||||
|
||||
nlog($this->user_message);
|
||||
|
||||
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', ['user_message' => $this->user_message, 'title' => $this->title]);
|
||||
|
Loading…
Reference in New Issue
Block a user