mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-12 14:12:44 +01:00
Fix curreny formating in email preview
This commit is contained in:
parent
b0cfcf7748
commit
38c07edc71
@ -190,6 +190,7 @@
|
||||
var entityTypes = ['invoice', 'quote', 'payment', 'reminder1', 'reminder2', 'reminder3'];
|
||||
var stringTypes = ['subject', 'template'];
|
||||
var templates = {!! json_encode($defaultTemplates) !!};
|
||||
var account = {!! Auth::user()->account !!};
|
||||
|
||||
function refreshPreview() {
|
||||
for (var i=0; i<entityTypes.length; i++) {
|
||||
@ -277,7 +278,7 @@
|
||||
"{{ $account->formatDate($account->getDateTime()) }}",
|
||||
"{{ $account->formatDate($account->getDateTime()) }}",
|
||||
"Client Name",
|
||||
formatMoney(100),
|
||||
formatMoneyAccount(100, account),
|
||||
"Contact Name",
|
||||
"First Name",
|
||||
"0001",
|
||||
|
Loading…
Reference in New Issue
Block a user