Skip to content

Commit d65e564

Browse files
committed
fix: use camelCase for displayTermsAndConditions
1 parent dacdbfd commit d65e564

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

fyo/models/SystemSettings.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ export default class SystemSettings extends Doc {
1717
version?: string;
1818
instanceId?: string;
1919
darkMode?: boolean;
20+
displayTermsAndConditions?: boolean;
2021

2122
validations: ValidationMap = {
2223
displayPrecision(value: DocValue) {

schemas/core/SystemSettings.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,13 @@
133133
"default": false,
134134
"description": "Sets the theme of the app.",
135135
"section": "Theme"
136+
},
137+
{
138+
"fieldname": "displayTermsAndConditions",
139+
"label": "Display Terms and Conditions",
140+
"fieldtype": "Check",
141+
"default": false,
142+
"section": "Customizations"
136143
}
137144
],
138145
"quickEditFields": [

0 commit comments

Comments
 (0)