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

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

42 lines
897 B
JSON
Raw Normal View History

2022-03-23 07:31:15 +00:00
{
"name": "PaymentFor",
"label": "Payment For",
"isSingle": false,
"isChild": true,
"fields": [
{
"fieldname": "referenceType",
"label": "Type",
2022-03-23 07:31:15 +00:00
"placeholder": "Type",
"fieldtype": "Select",
"options": [
2022-03-23 08:37:00 +00:00
{
"value": "SalesInvoice",
"label": "Sales"
2022-03-23 08:37:00 +00:00
},
{
"value": "PurchaseInvoice",
"label": "Purchase"
2022-03-23 08:37:00 +00:00
}
2022-03-23 07:31:15 +00:00
],
"required": true
},
{
"fieldname": "referenceName",
"label": "Name",
2022-03-23 07:31:15 +00:00
"fieldtype": "DynamicLink",
"references": "referenceType",
"placeholder": "Name",
"required": true
},
{
"fieldname": "amount",
"label": "Amount",
2022-03-23 07:31:15 +00:00
"fieldtype": "Currency",
"required": true
}
],
"tableFields": ["referenceType", "referenceName", "amount"],
"keywordFields": ["referenceName", "referenceType"]
2022-03-23 08:37:00 +00:00
}