Files
espocrm/custom/Espo/Custom/Resources/metadata/clientDefs/CKndigung.json
bsiggel 292a0b57b9 Refactor termination and rental object entities
- Removed the "Kündigungen" field from the German and English rental object JSON files.
- Updated the termination JSON files to reflect new field names and structure, including renaming "kuendigungsart" to "beendigungsTatbestand" and "kuendigungsgrund" to "kuendigungsgrund" with updated options.
- Deleted the old "CKuendigung" entity definition and related metadata, consolidating functionality into "CKndigung".
- Adjusted the service logic to accommodate the new structure, ensuring proper linking of landlords and tenants.
- Updated dynamic visibility logic for fields based on conditions related to termination reasons and delivery methods.
- Cleaned up metadata definitions for both termination and rental object entities, removing unnecessary relationships and fields.
- Incremented cache and microtime values in the configuration file.
2026-01-25 11:41:57 +01:00

96 lines
2.6 KiB
JSON

{
"controller": "controllers/record",
"boolFilterList": [
"onlyMy"
],
"sidePanels": {
"detail": [
{
"name": "activities",
"reference": "activities"
},
{
"name": "history",
"reference": "history"
},
{
"name": "tasks",
"reference": "tasks"
}
]
},
"bottomPanels": {
"detail": [
{
"name": "activities",
"reference": "activities",
"disabled": true
},
{
"name": "history",
"reference": "history",
"disabled": true
}
]
},
"iconClass": "fas fa-file-contract",
"dynamicLogic": {
"fields": {
"sendungsverfolgungsnummer": {
"visible": {
"conditionGroup": [
{
"type": "equals",
"attribute": "zustellart",
"value": "Einschreiben"
}
]
}
},
"mietrueckstand": {
"visible": {
"conditionGroup": [
{
"type": "contains",
"attribute": "kuendigungsgrund",
"value": "Mietrückstand"
}
]
}
},
"beschreibungBesorgnisgrund": {
"visible": {
"conditionGroup": [
{
"type": "equals",
"attribute": "vorzeitigeRaeumungZulaessig",
"value": "JaBesorgnisgrund259ZPO"
}
]
}
}
}
},
"relationshipPanels": {
"vmhMietverhltnises": {
"layout": null,
"selectPrimaryFilterName": null
},
"kuendiger": {
"layout": null,
"selectPrimaryFilterName": null
},
"gekuendigte": {
"layout": null,
"selectPrimaryFilterName": null
},
"dokumenteskuendigung": {
"layout": null,
"selectPrimaryFilterName": null
},
"contactsKuendigung": {
"layout": null,
"selectPrimaryFilterName": "portalUsers"
}
}
}