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/>";
|
$template .= "$message<p/>";
|
||||||
}
|
}
|
||||||
|
|
||||||
return $template . '$footer';
|
return $template . '$emailSignature';
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -47,6 +47,7 @@ class TemplateService
|
|||||||
|
|
||||||
$variables = [
|
$variables = [
|
||||||
'$footer' => $account->getEmailFooter(),
|
'$footer' => $account->getEmailFooter(),
|
||||||
|
'$emailSignature' => $account->getEmailFooter(),
|
||||||
'$client' => $client->getDisplayName(),
|
'$client' => $client->getDisplayName(),
|
||||||
'$account' => $account->getDisplayName(),
|
'$account' => $account->getDisplayName(),
|
||||||
'$dueDate' => $account->formatDate($invoice->due_date),
|
'$dueDate' => $account->formatDate($invoice->due_date),
|
||||||
|
@ -146,7 +146,6 @@
|
|||||||
<p>{{ trans('texts.template_help_1') }}</p>
|
<p>{{ trans('texts.template_help_1') }}</p>
|
||||||
<ul>
|
<ul>
|
||||||
@foreach([
|
@foreach([
|
||||||
'footer',
|
|
||||||
'account',
|
'account',
|
||||||
'dueDate',
|
'dueDate',
|
||||||
'invoiceDate',
|
'invoiceDate',
|
||||||
@ -156,6 +155,7 @@
|
|||||||
'firstName',
|
'firstName',
|
||||||
'invoice',
|
'invoice',
|
||||||
'quote',
|
'quote',
|
||||||
|
'emailSignature',
|
||||||
'password',
|
'password',
|
||||||
'documents',
|
'documents',
|
||||||
'viewLink',
|
'viewLink',
|
||||||
|
@ -15,6 +15,7 @@
|
|||||||
|
|
||||||
var keys = {
|
var keys = {
|
||||||
'footer': {!! json_encode($account->getEmailFooter()) !!},
|
'footer': {!! json_encode($account->getEmailFooter()) !!},
|
||||||
|
'emailSignature': {!! json_encode($account->getEmailFooter()) !!},
|
||||||
'account': "{{ $account->getDisplayName() }}",
|
'account': "{{ $account->getDisplayName() }}",
|
||||||
'dueDate': "{{ $account->formatDate($account->getDateTime()) }}",
|
'dueDate': "{{ $account->formatDate($account->getDateTime()) }}",
|
||||||
'invoiceDate': "{{ $account->formatDate($account->getDateTime()) }}",
|
'invoiceDate': "{{ $account->formatDate($account->getDateTime()) }}",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user