mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Changed to
This commit is contained in:
parent
7a448d5e81
commit
8ae95c90ba
@ -69,7 +69,7 @@ trait SendsEmails
|
||||
$template .= "$message<p/>";
|
||||
}
|
||||
|
||||
return $template . '$footer';
|
||||
return $template . '$emailSignature';
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -47,6 +47,7 @@ class TemplateService
|
||||
|
||||
$variables = [
|
||||
'$footer' => $account->getEmailFooter(),
|
||||
'$emailSignature' => $account->getEmailFooter(),
|
||||
'$client' => $client->getDisplayName(),
|
||||
'$account' => $account->getDisplayName(),
|
||||
'$dueDate' => $account->formatDate($invoice->due_date),
|
||||
|
@ -146,7 +146,6 @@
|
||||
<p>{{ trans('texts.template_help_1') }}</p>
|
||||
<ul>
|
||||
@foreach([
|
||||
'footer',
|
||||
'account',
|
||||
'dueDate',
|
||||
'invoiceDate',
|
||||
@ -156,6 +155,7 @@
|
||||
'firstName',
|
||||
'invoice',
|
||||
'quote',
|
||||
'emailSignature',
|
||||
'password',
|
||||
'documents',
|
||||
'viewLink',
|
||||
|
@ -15,6 +15,7 @@
|
||||
|
||||
var keys = {
|
||||
'footer': {!! json_encode($account->getEmailFooter()) !!},
|
||||
'emailSignature': {!! json_encode($account->getEmailFooter()) !!},
|
||||
'account': "{{ $account->getDisplayName() }}",
|
||||
'dueDate': "{{ $account->formatDate($account->getDateTime()) }}",
|
||||
'invoiceDate': "{{ $account->formatDate($account->getDateTime()) }}",
|
||||
|
Loading…
x
Reference in New Issue
Block a user