2
0
mirror of https://github.com/frappe/books.git synced 2024-12-23 03:19:01 +00:00
books/schemas/app/LoyaltyPointEntry.json
2024-09-04 09:08:30 +05:30

71 lines
1.5 KiB
JSON

{
"name": "LoyaltyPointEntry",
"label": "Loyalty Point Entry",
"create": false,
"naming": "random",
"fields": [
{
"label": "Entry No.",
"fieldname": "name",
"fieldtype": "Data",
"required": true,
"readOnly": true,
"section": "Default"
},
{
"fieldname": "loyaltyProgram",
"readOnly": true,
"label": "Loyalty Program",
"fieldtype": "Data",
"required": true
},
{
"fieldname": "loyaltyProgramTier",
"readOnly": true,
"label": "Loyalty Program Tier",
"fieldtype": "Data"
},
{
"fieldname": "customer",
"readOnly": true,
"label": "Customer",
"fieldtype": "Link",
"target": "Party",
"required": true
},
{
"fieldname": "invoice",
"readOnly": true,
"label": "Invoice",
"fieldtype": "Link",
"target": "SalesInvoice",
"required": true
},
{
"fieldname": "loyaltyPoints",
"readOnly": true,
"label": "Loyalty Points",
"fieldtype": "Int"
},
{
"fieldname": "purchaseAmount",
"readOnly": true,
"label": "Purchase Amount",
"fieldtype": "Currency",
"required": true
},
{
"fieldname": "expiryDate",
"readOnly": true,
"label": "Expiry Date",
"fieldtype": "Date"
},
{
"fieldname": "postingDate",
"readOnly": true,
"label": "Posting Date",
"fieldtype": "Date"
}
]
}