1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 05:02:36 +01:00

Fix for data viz

This commit is contained in:
Hillel Coren 2018-04-29 20:17:06 +03:00
parent fb469240a0
commit 422d5c5cdc

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) {