Financial analytics graph fix #1542
This commit is contained in:
parent
232954d4b9
commit
a096b2004f
@ -82,7 +82,7 @@ erpnext.FinancialAnalytics = erpnext.AccountTreeGrid.extend({
|
||||
date: date,
|
||||
balance_type: balance_type,
|
||||
formatter: me.currency_formatter,
|
||||
width: 100
|
||||
width: 110
|
||||
});
|
||||
}
|
||||
|
||||
@ -313,9 +313,9 @@ erpnext.FinancialAnalytics = erpnext.AccountTreeGrid.extend({
|
||||
var bal = account[col.date+"_dr"]||account[col.date+"_cr"];
|
||||
if (pl_or_bs != "Balance Sheet") {
|
||||
return [[dateutil.str_to_obj(col.date).getTime(), bal],
|
||||
[dateutil.user_to_obj(col.date).getTime(), bal]];
|
||||
[dateutil.str_to_obj(col.date).getTime(), bal]];
|
||||
} else {
|
||||
return [[dateutil.user_to_obj(col.date).getTime(), bal]];
|
||||
return [[dateutil.str_to_obj(col.date).getTime(), bal]];
|
||||
}
|
||||
}
|
||||
}),
|
||||
@ -330,7 +330,6 @@ erpnext.FinancialAnalytics = erpnext.AccountTreeGrid.extend({
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
return data;
|
||||
}
|
||||
})
|
Loading…
x
Reference in New Issue
Block a user