2
0
mirror of https://github.com/frappe/books.git synced 2024-11-15 01:44:04 +00:00
books/schemas/core/SystemSettings.json

138 lines
3.3 KiB
JSON
Raw Normal View History

2022-03-23 07:31:15 +00:00
{
"name": "SystemSettings",
"label": "System Settings",
"isSingle": true,
"isChild": false,
"fields": [
{
"fieldname": "dateFormat",
"label": "Date Format",
"fieldtype": "AutoComplete",
2022-03-23 07:31:15 +00:00
"options": [
{
"label": "23/03/2022",
"value": "dd/MM/yyyy"
},
{
"label": "03/23/2022",
"value": "MM/dd/yyyy"
},
{
"label": "23-03-2022",
"value": "dd-MM-yyyy"
},
{
"label": "03-23-2022",
"value": "MM-dd-yyyy"
},
{
"label": "2022-03-23",
"value": "yyyy-MM-dd"
},
{
"label": "23 Mar, 2022",
"value": "d MMM, y"
},
{
"label": "Mar 23, 2022",
"value": "MMM d, y"
2022-12-20 06:41:19 +00:00
},
{
"label": "23.03.2022",
"value": "dd.MM.yyyy"
2022-03-23 07:31:15 +00:00
}
],
"default": "MMM d, y",
"required": true,
"allowCustom": true,
2023-03-01 07:54:49 +00:00
"description": "Sets the app-wide date display format.",
"section": "Default"
},
{
"fieldname": "hideGetStarted",
"label": "Hide Get Started",
"fieldtype": "Check",
"default": false,
"description": "Hides the Get Started section from the sidebar. Change will be visible on restart or refreshing the app.",
"section": "Default"
},
{
"fieldname": "version",
"label": "Version",
"fieldtype": "Data",
2023-07-12 09:28:14 +00:00
"default": "0.0.0",
2023-03-01 07:54:49 +00:00
"readOnly": true,
"section": "Default"
2022-03-23 07:31:15 +00:00
},
{
"fieldname": "locale",
"label": "Locale",
"fieldtype": "AutoComplete",
2022-03-23 07:31:15 +00:00
"default": "en-IN",
"required": true,
2022-12-20 06:41:19 +00:00
"allowCustom": true,
2023-03-01 07:54:49 +00:00
"description": "Set the local code. This is used for number formatting.",
"section": "Number Display"
2022-03-23 07:31:15 +00:00
},
{
"fieldname": "displayPrecision",
"label": "Display Precision",
"fieldtype": "Int",
"default": 2,
"required": true,
2022-05-16 07:49:01 +00:00
"minvalue": 0,
"maxvalue": 9,
2023-03-01 07:54:49 +00:00
"description": "Sets how many digits are shown after the decimal point.",
"section": "Number Display"
},
{
"fieldname": "currency",
"label": "Currency",
"fieldtype": "AutoComplete",
"default": "INR",
"readOnly": true,
"required": true,
"section": "Number Display"
2022-03-23 07:31:15 +00:00
},
{
"fieldname": "internalPrecision",
"label": "Internal Precision",
"fieldtype": "Int",
2022-05-16 07:49:01 +00:00
"minvalue": 0,
2022-03-23 07:31:15 +00:00
"default": 11,
2023-03-01 07:54:49 +00:00
"description": "Sets the internal precision used for monetary calculations. Above 6 should be sufficient for most currencies.",
"hidden": true
},
{
"fieldname": "countryCode",
"label": "Country Code",
"fieldtype": "Data",
2022-04-25 06:33:31 +00:00
"default": "in",
2023-03-01 07:54:49 +00:00
"description": "Country code used to initialize regional settings.",
"hidden": true
},
{
"fieldname": "instanceId",
"label": "Instance Id",
"fieldtype": "Data",
2023-03-01 07:54:49 +00:00
"readOnly": true,
"hidden": true
},
{
"fieldname": "darkMode",
"label": "Dark mode",
"fieldtype": "Check",
"default": false,
"description": "Sets the theme of the app.",
"section": "Theme"
2022-03-23 07:31:15 +00:00
}
],
2022-05-06 07:00:32 +00:00
"quickEditFields": [
"locale",
"dateFormat",
"currency",
"displayPrecision",
"hideGetStarted"
]
2024-08-21 05:12:49 +00:00
}