Merge pull request #27047 from GursheenK/currency-number-format
fix: use currency number format if present
This commit is contained in:
commit
32ecbcca84
1 changed files with 1 additions and 0 deletions
|
|
@ -178,6 +178,7 @@ function get_currency_symbol(currency) {
|
|||
|
||||
function get_number_format(currency) {
|
||||
return (
|
||||
(currency && frappe.model.get_value(":Currency", currency, "number_format")) ||
|
||||
(frappe.boot && frappe.boot.sysdefaults && frappe.boot.sysdefaults.number_format) ||
|
||||
"#,###.##"
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue