2
0
mirror of https://github.com/frappe/books.git synced 2024-11-10 07:40:55 +00:00
books/schemas/app/PaymentFor.json
2022-05-23 16:18:21 +05:30

43 lines
882 B
JSON

{
"name": "PaymentFor",
"label": "Payment For",
"isSingle": false,
"isChild": true,
"keywordFields": [],
"tableFields": [
"referenceType",
"referenceName",
"amount"
],
"fields": [
{
"fieldname": "referenceType",
"label": "Reference Type",
"placeholder": "Type",
"fieldtype": "Select",
"options": [
"SalesInvoice",
"PurchaseInvoice"
],
"map": {
"SalesInvoice": "Invoice",
"PurchaseInvoice": "Bill"
},
"required": true
},
{
"fieldname": "referenceName",
"label": "Reference Name",
"fieldtype": "DynamicLink",
"references": "referenceType",
"placeholder": "Name",
"required": true
},
{
"fieldname": "amount",
"label": "Allocated Amount",
"fieldtype": "Currency",
"required": true
}
]
}