2
0
mirror of https://github.com/frappe/books.git synced 2024-09-20 11:29:00 +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 = {
name: "SystemSettings",
label: "System Settings",
doctype: "DocType",
isSingle: 1,
isChild: 0,
keywordFields: [],
fields: [
{
fieldname: "dateFormat",
label: "Date Format",
fieldtype: "Select",
options: [
"dd/MM/yyyy",
"MM/dd/yyyy",
"dd-MM-yyyy",
"MM-dd-yyyy",
"yyyy-MM-dd",
"d MMM, y",
"MMM d, y"
],
default: "MMM d, y",
required: 1
}
]
}
name: 'SystemSettings',
label: 'System Settings',
doctype: 'DocType',
isSingle: 1,
isChild: 0,
keywordFields: [],
fields: [
{
fieldname: 'dateFormat',
label: 'Date Format',
fieldtype: 'Select',
options: [
'dd/MM/yyyy',
'MM/dd/yyyy',
'dd-MM-yyyy',
'MM-dd-yyyy',
'yyyy-MM-dd',
'd MMM, y',
'MMM d, y'
],
default: 'MMM d, y',
required: 1
},
{
fieldname: 'floatPrecision',
label: 'Float Precision',
fieldtype: 'Select',
options: ['2', '3', '4', '5'],
default: '2',
required: 1
},
]
};