2
0
mirror of https://github.com/frappe/books.git synced 2024-11-15 09:54:04 +00:00
books/schemas/app/LoyaltyProgram.json

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

73 lines
1.4 KiB
JSON
Raw Normal View History

2024-08-22 09:02:45 +00:00
{
"name": "LoyaltyProgram",
"label": "Loyalty Program",
"naming": "manual",
"fields": [
{
"fieldname": "name",
"label": "Name",
"fieldtype": "Data",
"required": true,
2024-09-11 07:06:21 +00:00
"placeholder": "Name",
2024-08-22 09:02:45 +00:00
"section": "Default"
},
{
"fieldname": "fromDate",
"label": "From Date",
"fieldtype": "Date",
"required": true
},
{
"fieldname": "toDate",
"label": "To Date",
"fieldtype": "Date",
"required": true
},
{
"fieldname": "isEnabled",
"label": "Is Enabled",
"fieldtype": "Check",
"default": true,
"required": true
},
{
"fieldname": "collectionRules",
"label": "Collection Rules",
"fieldtype": "Table",
"target": "CollectionRulesItems",
"required": false
},
{
"fieldname": "conversionFactor",
"label": "Conversion Factor",
"fieldtype": "Float",
"default": 1,
"required": true
},
{
"fieldname": "expiryDuration",
"label": "Expiry Duration",
"fieldtype": "Int",
"default": 1,
"required": true
},
{
"fieldname": "expenseAccount",
"label": "Expense Account",
"fieldtype": "Link",
"target": "Account",
"required": true
}
],
"quickEditFields": [
"name",
"fromDate",
"toDate",
"conversionFactor",
"expenseAccount",
"expiryDuration"
],
"keywordFields": ["name"]
}