2022-03-23 07:31:15 +00:00
|
|
|
{
|
|
|
|
"name": "Party",
|
|
|
|
"label": "Party",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"fieldname": "name",
|
|
|
|
"label": "Name",
|
|
|
|
"fieldtype": "Data",
|
|
|
|
"required": true,
|
|
|
|
"placeholder": "Full Name"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "image",
|
|
|
|
"label": "Image",
|
|
|
|
"fieldtype": "AttachImage"
|
|
|
|
},
|
2022-04-08 05:30:52 +00:00
|
|
|
{
|
|
|
|
"fieldname": "role",
|
|
|
|
"label": "Role",
|
|
|
|
"fieldtype": "Select",
|
|
|
|
"default": "Both",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"value": "Both",
|
|
|
|
"label": "Both"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"value": "Supplier",
|
|
|
|
"label": "Supplier"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"value": "Customer",
|
|
|
|
"label": "Customer"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"required": true
|
|
|
|
},
|
2022-03-23 07:31:15 +00:00
|
|
|
{
|
|
|
|
"fieldname": "defaultAccount",
|
|
|
|
"label": "Default Account",
|
|
|
|
"fieldtype": "Link",
|
|
|
|
"target": "Account"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "outstandingAmount",
|
|
|
|
"label": "Outstanding Amount",
|
|
|
|
"fieldtype": "Currency"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "currency",
|
|
|
|
"label": "Currency",
|
|
|
|
"fieldtype": "Link",
|
|
|
|
"target": "Currency",
|
|
|
|
"placeholder": "INR"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "email",
|
|
|
|
"label": "Email",
|
|
|
|
"fieldtype": "Data",
|
2022-03-23 08:37:00 +00:00
|
|
|
"placeholder": "john@doe.com"
|
2022-03-23 07:31:15 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "phone",
|
|
|
|
"label": "Phone",
|
|
|
|
"fieldtype": "Data",
|
2022-03-23 08:37:00 +00:00
|
|
|
"placeholder": "Phone"
|
2022-03-23 07:31:15 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "address",
|
|
|
|
"label": "Address",
|
|
|
|
"fieldtype": "Link",
|
|
|
|
"target": "Address",
|
|
|
|
"placeholder": "Click to create",
|
|
|
|
"inline": true
|
2022-04-14 05:24:11 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "taxId",
|
|
|
|
"label": "Tax ID",
|
|
|
|
"fieldtype": "Data"
|
2022-03-23 07:31:15 +00:00
|
|
|
}
|
|
|
|
],
|
2022-04-14 05:24:11 +00:00
|
|
|
"quickEditFields": ["email", "role", "phone", "address", "defaultAccount", "currency", "taxId"],
|
2022-03-23 08:37:00 +00:00
|
|
|
"keywordFields": ["name"]
|
|
|
|
}
|