mirror of
https://github.com/frappe/books.git
synced 2024-11-14 01:14:03 +00:00
40 lines
825 B
JSON
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
|
|
}
|
|
]
|
|
}
|