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:
parent
413a3afb3d
commit
1719ac4965
@ -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