2023-02-22 08:45:59 +00:00
|
|
|
{
|
|
|
|
"name": "PrintTemplate",
|
|
|
|
"label": "Print Template",
|
|
|
|
"naming": "manual",
|
|
|
|
"isSingle": false,
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"fieldname": "name",
|
|
|
|
"label": "Template Name",
|
|
|
|
"fieldtype": "Data",
|
|
|
|
"required": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "type",
|
|
|
|
"label": "Template Type",
|
2023-02-22 10:21:20 +00:00
|
|
|
"fieldtype": "AutoComplete",
|
|
|
|
"default": "SalesInvoice",
|
2023-02-22 08:45:59 +00:00
|
|
|
"required": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "template",
|
|
|
|
"label": "Template",
|
2023-02-22 10:21:20 +00:00
|
|
|
"fieldtype": "Text",
|
2023-02-22 08:45:59 +00:00
|
|
|
"required": true
|
|
|
|
},
|
2023-06-02 10:51:27 +00:00
|
|
|
{
|
|
|
|
"fieldname": "height",
|
|
|
|
"label": "Height (in cm)",
|
|
|
|
"fieldtype": "Float",
|
|
|
|
"default": 29.7
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "width",
|
|
|
|
"label": "Width (in cm)",
|
|
|
|
"fieldtype": "Float",
|
|
|
|
"default": 21
|
|
|
|
},
|
2023-02-22 08:45:59 +00:00
|
|
|
{
|
|
|
|
"fieldname": "isCustom",
|
|
|
|
"label": "Is Custom",
|
|
|
|
"fieldtype": "Check",
|
2023-02-24 06:44:58 +00:00
|
|
|
"default": true,
|
2023-02-22 10:21:20 +00:00
|
|
|
"readOnly": true
|
2023-02-22 08:45:59 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|