mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Text emails
This commit is contained in:
parent
c02bc2c389
commit
f3acd6bf90
@ -54,6 +54,7 @@ class ACHVerificationNotification extends Mailable
|
|||||||
|
|
||||||
return $this
|
return $this
|
||||||
->subject(ctrans('texts.ach_verification_notification_label'))
|
->subject(ctrans('texts.ach_verification_notification_label'))
|
||||||
|
->text('email.gateways.ach-verification-notification_text')
|
||||||
->view('email.gateways.ach-verification-notification', [
|
->view('email.gateways.ach-verification-notification', [
|
||||||
'logo' => $this->company->present()->logo(),
|
'logo' => $this->company->present()->logo(),
|
||||||
'settings' => $this->company->settings,
|
'settings' => $this->company->settings,
|
||||||
|
@ -59,10 +59,9 @@ 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()]))
|
||||||
|
->text('email.import.import_failure_text')
|
||||||
->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]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -0,0 +1,5 @@
|
|||||||
|
{!! ctrans('texts.ach_verification_notification_label') !!}
|
||||||
|
|
||||||
|
{!! ctrans('texts.ach_verification_notification') !!}
|
||||||
|
|
||||||
|
{!! $url !!}
|
@ -0,0 +1,7 @@
|
|||||||
|
{!! $title !!}
|
||||||
|
|
||||||
|
{!! ctrans('texts.company_import_failure_body') !!}
|
||||||
|
|
||||||
|
@if(isset($whitelabel) && !$whitelabel)
|
||||||
|
{{ ctrans('texts.ninja_email_footer', ['site' => 'https://invoiceninja.com']) }}
|
||||||
|
@endif
|
Loading…
x
Reference in New Issue
Block a user