mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01:00
Text emails
This commit is contained in:
parent
c02bc2c389
commit
f3acd6bf90
@ -54,6 +54,7 @@ class ACHVerificationNotification extends Mailable
|
||||
|
||||
return $this
|
||||
->subject(ctrans('texts.ach_verification_notification_label'))
|
||||
->text('email.gateways.ach-verification-notification_text')
|
||||
->view('email.gateways.ach-verification-notification', [
|
||||
'logo' => $this->company->present()->logo(),
|
||||
'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->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()]))
|
||||
->text('email.import.import_failure_text')
|
||||
->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…
Reference in New Issue
Block a user