feat: Add termination functionality for rental agreements
- Introduced new entity `CKuendigung` for managing terminations. - Added fields for termination details including date, reason, type, and status. - Implemented backend service to initiate terminations from rental agreements. - Created frontend handler for termination actions with confirmation dialog. - Updated metadata and layouts for `CKuendigung` to support new functionality. - Added internationalization support for English and German languages. - Enhanced existing entities to establish relationships with terminations.
This commit is contained in:
@@ -0,0 +1,55 @@
|
||||
{
|
||||
"controller": "controllers/record",
|
||||
"boolFilterList": [
|
||||
"onlyMy"
|
||||
],
|
||||
"iconClass": "fas fa-file-contract",
|
||||
"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
|
||||
}
|
||||
]
|
||||
},
|
||||
"relationshipPanels": {
|
||||
"vermieter": {
|
||||
"layout": null,
|
||||
"selectPrimaryFilterName": null
|
||||
},
|
||||
"mieter": {
|
||||
"layout": null,
|
||||
"selectPrimaryFilterName": null
|
||||
},
|
||||
"dokumenteKuendigung": {
|
||||
"layout": null,
|
||||
"selectPrimaryFilterName": null
|
||||
},
|
||||
"contactsKuendigung": {
|
||||
"layout": null,
|
||||
"selectPrimaryFilterName": "portalUsers"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user