Merge pull request #6879 from SaiFi0102/Fix-Report-Int-Format

fix(Query Report): Do not preformat before frappe.format
This commit is contained in:
Suraj Shetty 2019-02-12 10:00:46 +05:30 committed by GitHub
commit e19bb40031
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -639,7 +639,7 @@ frappe.views.QueryReport = class QueryReport extends frappe.views.BaseList {
}
const format_cell = (value, row, column, data) => {
return frappe.format(value == null ? '' : value, column,
return frappe.format(value, column,
{for_print: false, always_show_decimals: true}, data);
};