2
0
mirror of https://github.com/frappe/books.git synced 2024-11-10 07:40:55 +00:00

fix: Add floatPrecision field

This commit is contained in:
Faris Ansari 2019-12-02 17:47:54 +05:30
parent 51541465e6
commit 2839240436

View File

@ -1,26 +1,34 @@
module.exports = { module.exports = {
name: "SystemSettings", name: 'SystemSettings',
label: "System Settings", label: 'System Settings',
doctype: "DocType", doctype: 'DocType',
isSingle: 1, isSingle: 1,
isChild: 0, isChild: 0,
keywordFields: [], keywordFields: [],
fields: [ fields: [
{ {
fieldname: "dateFormat", fieldname: 'dateFormat',
label: "Date Format", label: 'Date Format',
fieldtype: "Select", fieldtype: 'Select',
options: [ options: [
"dd/MM/yyyy", 'dd/MM/yyyy',
"MM/dd/yyyy", 'MM/dd/yyyy',
"dd-MM-yyyy", 'dd-MM-yyyy',
"MM-dd-yyyy", 'MM-dd-yyyy',
"yyyy-MM-dd", 'yyyy-MM-dd',
"d MMM, y", 'd MMM, y',
"MMM d, y" 'MMM d, y'
], ],
default: "MMM d, y", default: 'MMM d, y',
required: 1 required: 1
} },
] {
} fieldname: 'floatPrecision',
label: 'Float Precision',
fieldtype: 'Select',
options: ['2', '3', '4', '5'],
default: '2',
required: 1
},
]
};