Преглед изворни кода

Merge pull request #3485 from saurabh6790/number_format_fix

[minor][fix] check boot.systemdefaults too
version-14
Makarand Bauskar пре 8 година
committed by GitHub
родитељ
комит
db324bd8a6
1 измењених фајлова са 1 додато и 1 уклоњено
  1. +1
    -1
      frappe/public/js/frappe/misc/number_format.js

+ 1
- 1
frappe/public/js/frappe/misc/number_format.js Прегледај датотеку

@@ -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…
Откажи
Сачувај