This repository has been archived on 2026-07-19. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
espocrm-base/application/Espo/Resources/metadata/clientDefs/Template.json
T
Yuri Kuznetsov 350141727b disable merge
2024-03-06 13:47:16 +02:00

114 lines
3.4 KiB
JSON

{
"controller": "controllers/record",
"recordViews": {
"detail": "views/template/record/detail",
"edit": "views/template/record/edit"
},
"mergeDisabled": true,
"dynamicLogic": {
"fields": {
"entityType": {
"readOnly": {
"conditionGroup": [
{
"type": "isNotEmpty",
"attribute": "id"
}
]
}
},
"footer": {
"visible": {
"conditionGroup": [
{
"type": "isTrue",
"attribute": "printFooter"
}
]
}
},
"footerPosition": {
"visible": {
"conditionGroup": [
{
"type": "isTrue",
"attribute": "printFooter"
}
]
}
},
"header": {
"visible": {
"conditionGroup": [
{
"type": "isTrue",
"attribute": "printHeader"
}
]
}
},
"headerPosition": {
"visible": {
"conditionGroup": [
{
"type": "isTrue",
"attribute": "printHeader"
}
]
}
},
"body": {
"visible": {
"conditionGroup": [
{
"type": "isNotEmpty",
"attribute": "entityType"
}
]
}
},
"pageWidth": {
"visible": {
"conditionGroup": [
{
"type": "equals",
"attribute": "pageFormat",
"value": "Custom"
}
]
},
"required": {
"conditionGroup": [
{
"type": "equals",
"attribute": "pageFormat",
"value": "Custom"
}
]
}
},
"pageHeight": {
"visible": {
"conditionGroup": [
{
"type": "equals",
"attribute": "pageFormat",
"value": "Custom"
}
]
},
"required": {
"conditionGroup": [
{
"type": "equals",
"attribute": "pageFormat",
"value": "Custom"
}
]
}
}
}
},
"iconClass": "fas fa-file-pdf"
}