2022-03-23 13:01:15 +05:30
|
|
|
{
|
|
|
|
"name": "PaymentFor",
|
|
|
|
"label": "Payment For",
|
|
|
|
"isSingle": false,
|
|
|
|
"isChild": true,
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"fieldname": "referenceType",
|
|
|
|
"label": "Reference Type",
|
|
|
|
"placeholder": "Type",
|
|
|
|
"fieldtype": "Select",
|
|
|
|
"options": [
|
2022-03-23 14:07:00 +05:30
|
|
|
{
|
|
|
|
"value": "SalesInvoice",
|
|
|
|
"label": "Sales Invoice"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"value": "PurchaseInvoice",
|
|
|
|
"label": "Purchase Invoice"
|
|
|
|
}
|
2022-03-23 13:01:15 +05:30
|
|
|
],
|
|
|
|
"required": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "referenceName",
|
|
|
|
"label": "Reference Name",
|
|
|
|
"fieldtype": "DynamicLink",
|
|
|
|
"references": "referenceType",
|
|
|
|
"placeholder": "Name",
|
|
|
|
"required": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "amount",
|
|
|
|
"label": "Allocated Amount",
|
|
|
|
"fieldtype": "Currency",
|
|
|
|
"required": true
|
|
|
|
}
|
|
|
|
]
|
2022-03-23 14:07:00 +05:30
|
|
|
}
|