Added missing template variable to live preview; closes #320
This commit is contained in:
parent
0fa30fb55f
commit
e9bf76a2d9
1 changed files with 2 additions and 2 deletions
|
|
@ -107,8 +107,8 @@
|
|||
return '';
|
||||
}
|
||||
|
||||
keys = ['footer', 'account', 'client', 'amount', 'link'];
|
||||
vals = [{!! json_encode($emailFooter) !!}, '{!! Auth::user()->account->getDisplayName() !!}', 'Client Name', formatMoney(100), '{!! NINJA_WEB_URL !!}']
|
||||
keys = ['footer', 'account', 'client', 'amount', 'link', 'contact'];
|
||||
vals = [{!! json_encode($emailFooter) !!}, '{!! Auth::user()->account->getDisplayName() !!}', 'Client Name', formatMoney(100), '{!! NINJA_WEB_URL !!}', 'Contact Name']
|
||||
|
||||
for (var i=0; i<keys.length; i++) {
|
||||
var regExp = new RegExp('\\$'+keys[i], 'g');
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue