mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-13 22:54:25 +01:00
Merge data viz fix
This commit is contained in:
parent
413a3afb3d
commit
1719ac4965
@ -150,7 +150,7 @@
|
|||||||
});
|
});
|
||||||
|
|
||||||
_.each(products, function(product) {
|
_.each(products, function(product) {
|
||||||
var currencyId = product.values.currency_id;
|
var currencyId = product.values.currency_id || {{ Session::get(SESSION_CURRENCY, DEFAULT_CURRENCY) }};
|
||||||
var total = product.values.amount;
|
var total = product.values.amount;
|
||||||
product.displayTotal = total;
|
product.displayTotal = total;
|
||||||
if (currencyId != accountCurrencyId) {
|
if (currencyId != accountCurrencyId) {
|
||||||
|
Loading…
Reference in New Issue
Block a user