1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 20:22:42 +01:00

Merge data viz fix

This commit is contained in:
Hillel Coren 2018-05-02 12:33:17 +03:00
parent 413a3afb3d
commit 1719ac4965

View File

@ -150,7 +150,7 @@
});
_.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;
product.displayTotal = total;
if (currencyId != accountCurrencyId) {