mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Independent scaling for multi currency data visualizations
This commit is contained in:
parent
f02e909a68
commit
30518d48c5
@ -119,7 +119,6 @@
|
|||||||
|
|
||||||
// create standardized display properties
|
// create standardized display properties
|
||||||
_.each(clients, function(client) {
|
_.each(clients, function(client) {
|
||||||
console.log('paid: %s, balance: %s', client.paid_to_date, client.balance);
|
|
||||||
var currencyId = client.currency_id || {{ Session::get(SESSION_CURRENCY, DEFAULT_CURRENCY) }};
|
var currencyId = client.currency_id || {{ Session::get(SESSION_CURRENCY, DEFAULT_CURRENCY) }};
|
||||||
var total = +client.paid_to_date + +client.balance;
|
var total = +client.paid_to_date + +client.balance;
|
||||||
client.displayTotal = total;
|
client.displayTotal = total;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user