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

40 lines
825 B
JSON

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