Add termination (Kündigung) functionality and related translations

- Implemented the ability to initiate terminations from Mietverhältnisse.
- Added new fields and options for terminations in both German and English language files.
- Updated metadata definitions to include relationships for terminations with Mietobjekte and Beteiligte.
- Enhanced the service layer to handle termination creation, including linking relevant entities and copying documents.
- Updated configuration timestamps for deployment.
This commit is contained in:
2026-01-25 10:06:02 +01:00
parent 07ff3c5c54
commit 30326da8c6
23 changed files with 771 additions and 18 deletions

View File

@@ -33,5 +33,31 @@
}
]
},
"iconClass": "fas fa-circle-stop"
"iconClass": "fas fa-file-contract",
"relationshipPanels": {
"vmhMietverhltnises": {
"layout": null,
"selectPrimaryFilterName": null
},
"mietobjekte": {
"layout": null,
"selectPrimaryFilterName": null
},
"kuendiger": {
"layout": null,
"selectPrimaryFilterName": null
},
"gekuendigte": {
"layout": null,
"selectPrimaryFilterName": null
},
"dokumenteskuendigung": {
"layout": null,
"selectPrimaryFilterName": null
},
"contactsKuendigung": {
"layout": null,
"selectPrimaryFilterName": "portalUsers"
}
}
}

View File

@@ -25,6 +25,16 @@
"iconHtml": "<span class=\"fas fa-euro-sign\"></span>",
"style": "warning",
"acl": "edit"
},
{
"name": "initiateTermination",
"label": "Initiate Termination",
"handler": "custom:handlers/mietverhaeltnis/termination-action",
"initFunction": "initInitiateTermination",
"actionFunction": "actionInitiateTermination",
"iconHtml": "<span class=\"fas fa-file-contract\"></span>",
"style": "primary",
"acl": "edit"
}
]
}