mirror of
https://github.com/frappe/books.git
synced 2024-12-23 11:29:03 +00:00
150 lines
2.9 KiB
JSON
150 lines
2.9 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",
|
|
"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": "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"
|
|
]
|
|
}
|