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:
parent
51541465e6
commit
2839240436
@ -1,26 +1,34 @@
|
||||
module.exports = {
|
||||
name: "SystemSettings",
|
||||
label: "System Settings",
|
||||
doctype: "DocType",
|
||||
name: 'SystemSettings',
|
||||
label: 'System Settings',
|
||||
doctype: 'DocType',
|
||||
isSingle: 1,
|
||||
isChild: 0,
|
||||
keywordFields: [],
|
||||
fields: [
|
||||
{
|
||||
fieldname: "dateFormat",
|
||||
label: "Date Format",
|
||||
fieldtype: "Select",
|
||||
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"
|
||||
'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",
|
||||
default: 'MMM d, y',
|
||||
required: 1
|
||||
}
|
||||
},
|
||||
{
|
||||
fieldname: 'floatPrecision',
|
||||
label: 'Float Precision',
|
||||
fieldtype: 'Select',
|
||||
options: ['2', '3', '4', '5'],
|
||||
default: '2',
|
||||
required: 1
|
||||
},
|
||||
]
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user