mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-13 22:54:25 +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 entityTypes = ['invoice', 'quote', 'payment', 'reminder1', 'reminder2', 'reminder3'];
|
||||||
var stringTypes = ['subject', 'template'];
|
var stringTypes = ['subject', 'template'];
|
||||||
var templates = {!! json_encode($defaultTemplates) !!};
|
var templates = {!! json_encode($defaultTemplates) !!};
|
||||||
|
var account = {!! Auth::user()->account !!};
|
||||||
|
|
||||||
function refreshPreview() {
|
function refreshPreview() {
|
||||||
for (var i=0; i<entityTypes.length; i++) {
|
for (var i=0; i<entityTypes.length; i++) {
|
||||||
@ -277,7 +278,7 @@
|
|||||||
"{{ $account->formatDate($account->getDateTime()) }}",
|
"{{ $account->formatDate($account->getDateTime()) }}",
|
||||||
"{{ $account->formatDate($account->getDateTime()) }}",
|
"{{ $account->formatDate($account->getDateTime()) }}",
|
||||||
"Client Name",
|
"Client Name",
|
||||||
formatMoney(100),
|
formatMoneyAccount(100, account),
|
||||||
"Contact Name",
|
"Contact Name",
|
||||||
"First Name",
|
"First Name",
|
||||||
"0001",
|
"0001",
|
||||||
|
Loading…
Reference in New Issue
Block a user