Merge pull request #10567 from marination/number-card-country-issue
fix: Number Card doesn't fetch data if country not India.
This commit is contained in:
commit
9fc93a80f2
1 changed files with 1 additions and 1 deletions
|
|
@ -128,7 +128,7 @@ function go_to_list_with_filters(doctype, filters) {
|
|||
}
|
||||
|
||||
function shorten_number(number, country) {
|
||||
country = country || '';
|
||||
country = (country == 'India') ? country : '';
|
||||
const number_system = get_number_system(country);
|
||||
let x = Math.abs(Math.round(number));
|
||||
for (const map of number_system) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue