Implement eviction lawsuit initiation feature for Mietobjekt; add related UI and backend logic; update localization and configuration

This commit is contained in:
2026-01-24 11:51:16 +01:00
parent 3da6d140c7
commit ec612318c3
8 changed files with 250 additions and 4 deletions

View File

@@ -18,9 +18,15 @@
"dokumentesMietobjekt": "Dokumente"
},
"labels": {
"Create CMietobjekt": "Mietobjekt erstellen"
"Create CMietobjekt": "Mietobjekt erstellen",
"Räumungsklage einleiten": "Räumungsklage einleiten"
},
"tooltips": {
"lage": "Lage innerhalb des Objekts (z.B. EG links, 1. OG rechts)"
},
"messages": {
"initiateEvictionConfirmation": "Möchten Sie für dieses Mietobjekt eine Räumungsklage einleiten? Es werden automatisch alle zugehörigen Mietverhältnisse, Vermieter (als Kläger) und Mieter (als Beklagte) verknüpft.",
"evictionCreatedSuccess": "Räumungsklage wurde erfolgreich erstellt",
"evictionCreatedError": "Fehler beim Erstellen der Räumungsklage"
}
}

View File

@@ -24,7 +24,8 @@
"dokumentesMietobjekt": "Documents"
},
"labels": {
"Create CMietobjekt": "Create Mietobjekt"
"Create CMietobjekt": "Create Mietobjekt",
"Räumungsklage einleiten": "Initiate Eviction Lawsuit"
},
"options": {
"objekttyp": {
@@ -42,5 +43,10 @@
},
"tooltips": {
"lage": "Location within the property (e.g. ground floor left, 1st floor right)"
},
"messages": {
"initiateEvictionConfirmation": "Do you want to initiate an eviction lawsuit for this property? All associated rental agreements, landlords (as plaintiffs) and tenants (as defendants) will be automatically linked.",
"evictionCreatedSuccess": "Eviction lawsuit created successfully",
"evictionCreatedError": "Error creating eviction lawsuit"
}
}

View File

@@ -5,6 +5,22 @@
],
"color": "#dea185",
"iconClass": "fas fa-house",
"menu": {
"detail": {
"buttons": [
{
"label": "Räumungsklage einleiten",
"name": "initiateEviction",
"iconHtml": "<span class=\"fas fa-gavel fa-sm\"></span>",
"style": "danger",
"acl": "edit",
"handler": "custom:handlers/mietobjekt/eviction-action",
"initFunction": "initEvictionAction",
"actionFunction": "initiateEviction"
}
]
}
},
"relationshipPanels": {
"vmhMietverhltnises2Mietobjekt": {
"layout": null,