Merge pull request #3485 from saurabh6790/number_format_fix
[minor][fix] check boot.systemdefaults too
This commit is contained in:
commit
db324bd8a6
1 changed files with 1 additions and 1 deletions
|
|
@ -153,7 +153,7 @@ function get_currency_symbol(currency) {
|
|||
}
|
||||
|
||||
function get_number_format(currency) {
|
||||
return (frappe.boot && frappe.boot.sysdefaults.number_format) || "#,###.##";
|
||||
return (frappe.boot && frappe.boot.sysdefaults && frappe.boot.sysdefaults.number_format) || "#,###.##";
|
||||
}
|
||||
|
||||
function get_number_format_info(format) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue