2
0
mirror of https://github.com/frappe/books.git synced 2024-12-23 11:29:03 +00:00
books/schemas/app/PrintSettings.json
2022-05-23 16:18:21 +05:30

148 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": "phone",
"label": "Phone",
"fieldtype": "Data",
"placeholder": "9888900000"
},
{
"fieldname": "address",
"label": "Address",
"fieldtype": "Link",
"target": "Address",
"placeholder": "Click to create",
"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": "Inter",
"label": "Inter"
},
{
"value": "Times New Roman",
"label": "Times New Roman"
},
{
"value": "Arial",
"label": "Arial"
},
{
"value": "Courier",
"label": "Courier"
}
],
"default": "Inter"
}
],
"quickEditFields": [
"logo",
"displayLogo",
"template",
"color",
"font",
"email",
"phone",
"address"
]
}