2
0
mirror of https://github.com/frappe/books.git synced 2024-12-23 03:19:01 +00:00
books/schemas/app/PrintSettings.json
18alantom 48797dff62 fix: support option field value or label
- remove address placeholder
- allow more types of entries to be imported
2023-02-15 19:19:17 +05:30

149 lines
2.8 KiB
JSON

{
"name": "PrintSettings",
"label": "Print Settings",
"isSingle": true,
"fields": [
{
"fieldname": "logo",
"label": "Logo",
"fieldtype": "AttachImage"
},
{
"fieldname": "companyName",
"label": "Company Name",
"fieldtype": "Data"
},
{
"fieldname": "email",
"label": "Email",
"fieldtype": "Data",
"placeholder": "john@doe.com"
},
{
"fieldname": "displayLogo",
"label": "Display Logo in Invoice",
"fieldtype": "Check"
},
{
"fieldname": "displayTaxInvoice",
"label": "Display Tax Invoice",
"fieldtype": "Check"
},
{
"fieldname": "phone",
"label": "Phone",
"fieldtype": "Data",
"placeholder": "9888900000"
},
{
"fieldname": "address",
"label": "Address",
"fieldtype": "Link",
"target": "Address",
"inline": true
},
{
"fieldname": "template",
"label": "Template",
"placeholder": "Template",
"fieldtype": "Select",
"options": [
{
"value": "Basic",
"label": "Basic"
},
{
"value": "Minimal",
"label": "Minimal"
},
{
"value": "Business",
"label": "Business"
}
],
"default": "Basic"
},
{
"fieldname": "color",
"label": "Color",
"placeholder": "Select Color",
"fieldtype": "Color",
"default": "#112B42",
"options": [
{
"label": "Red",
"value": "#f56565"
},
{
"label": "Orange",
"value": "#ed8936"
},
{
"label": "Yellow",
"value": "#ecc94b"
},
{
"label": "Green",
"value": "#48bb78"
},
{
"label": "Teal",
"value": "#38b2ac"
},
{
"label": "Blue",
"value": "#33a1ff"
},
{
"label": "Indigo",
"value": "#667eea"
},
{
"label": "Purple",
"value": "#9f7aea"
},
{
"label": "Pink",
"value": "#ed64a6"
},
{
"label": "Black",
"value": "#112B42"
}
]
},
{
"fieldname": "font",
"label": "Font",
"placeholder": "Font",
"fieldtype": "Select",
"options": [
{
"value": "Arial",
"label": "Arial"
},
{
"value": "Times New Roman",
"label": "Times New Roman"
},
{
"value": "Courier",
"label": "Courier"
}
],
"default": "Arial"
}
],
"quickEditFields": [
"logo",
"displayLogo",
"displayTaxInvoice",
"template",
"color",
"font",
"email",
"phone",
"address"
]
}