mirror of
https://github.com/frappe/books.git
synced 2026-08-24 10:04:45 -05:00
chore: deprecate numberFormat
This commit is contained in:
+24
-273
File diff suppressed because it is too large
Load Diff
@@ -32,23 +32,5 @@ export default {
|
||||
fieldname: 'symbol',
|
||||
fieldtype: 'Data',
|
||||
},
|
||||
{
|
||||
fieldname: 'numberFormat',
|
||||
fieldtype: 'Select',
|
||||
label: 'Number Format',
|
||||
placeholder: 'Number Format',
|
||||
options: [
|
||||
'#,###.##',
|
||||
'#.###,##',
|
||||
'# ###.##',
|
||||
'# ###,##',
|
||||
"#'###.##",
|
||||
'#, ###.##',
|
||||
'#,##,###.##',
|
||||
'#,###.###',
|
||||
'#.###',
|
||||
'#,###',
|
||||
],
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user