chore: deprecate numberFormat

This commit is contained in:
18alantom
2022-01-07 10:51:19 +05:30
parent 595341c2aa
commit 4d85642a40
3 changed files with 24 additions and 293 deletions
+24 -273
View File
File diff suppressed because it is too large Load Diff
-18
View File
@@ -32,23 +32,5 @@ export default {
fieldname: 'symbol',
fieldtype: 'Data',
},
{
fieldname: 'numberFormat',
fieldtype: 'Select',
label: 'Number Format',
placeholder: 'Number Format',
options: [
'#,###.##',
'#.###,##',
'# ###.##',
'# ###,##',
"#'###.##",
'#, ###.##',
'#,##,###.##',
'#,###.###',
'#.###',
'#,###',
],
},
],
};
-2
View File
@@ -63,7 +63,6 @@ async function setupGlobalCurrencies(countries) {
currency_fraction_units: fractionUnits,
smallest_currency_fraction_value: smallestValue,
currency_symbol: symbol,
number_format: numberFormat,
} = country;
if (!currency || queue.includes(currency)) {
@@ -77,7 +76,6 @@ async function setupGlobalCurrencies(countries) {
fractionUnits,
smallestValue,
symbol,
numberFormat: numberFormat || '#,###.##',
};
const doc = checkAndCreateDoc(docObject);