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:
parent
fb469240a0
commit
422d5c5cdc
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user