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.
This commit is contained in:
@@ -90,32 +90,40 @@
|
||||
"tooltip": true,
|
||||
"isCustom": true
|
||||
},
|
||||
"kuendigungsart": {
|
||||
"beendigungsTatbestand": {
|
||||
"type": "enum",
|
||||
"required": false,
|
||||
"required": true,
|
||||
"options": [
|
||||
"Ordentlich",
|
||||
"Ausserordentlich",
|
||||
"Fristlos",
|
||||
"AufgabeerklärungMieter"
|
||||
"Kündigung Vermieter",
|
||||
"Kündigung Mieter",
|
||||
"Aufhebungsvertrag",
|
||||
"Befristung",
|
||||
"ZVG Zuschlagsbeschluss"
|
||||
],
|
||||
"default": "Ordentlich",
|
||||
"style": {
|
||||
"Kündigung Vermieter": null,
|
||||
"Kündigung Mieter": null,
|
||||
"Aufhebungsvertrag": null,
|
||||
"Befristung": null,
|
||||
"ZVG Zuschlagsbeschluss": null
|
||||
},
|
||||
"default": "Kündigung Vermieter",
|
||||
"isCustom": true
|
||||
},
|
||||
"kuendigungsgrund": {
|
||||
"type": "enum",
|
||||
"type": "multiEnum",
|
||||
"required": false,
|
||||
"options": [
|
||||
"Zahlungsverzug",
|
||||
"Pflichtverletzung",
|
||||
"Mietrückstand",
|
||||
"Eigenbedarf",
|
||||
"Fehlverhalten",
|
||||
"Verwertung",
|
||||
"VerhaltensbedingteLaermruhestoerung",
|
||||
"BeschaedigungSubstanz",
|
||||
"UnerlaubteUntervermietung",
|
||||
"StoerendeGeschaeftsfuehrung",
|
||||
"Sonstiges"
|
||||
"ZVG Eigenbedarf",
|
||||
"573a Abs. 1 (nicht mehr als 2 Whng.)",
|
||||
"573a Abs. 2 (Einliegerwohnung)",
|
||||
"GewerbeOrdentlich"
|
||||
],
|
||||
"tooltip": true,
|
||||
"isCustom": true
|
||||
},
|
||||
"kuendigungsgrundDetails": {
|
||||
@@ -165,44 +173,41 @@
|
||||
"options": [
|
||||
"Einschreiben",
|
||||
"Persoenlich",
|
||||
"Gerichtsvollzieher",
|
||||
"Oeffentlich",
|
||||
"Sonstiges"
|
||||
"Bote",
|
||||
"Brief"
|
||||
],
|
||||
"isCustom": true
|
||||
},
|
||||
"reaktionMieter": {
|
||||
"sendungsverfolgungsnummer": {
|
||||
"type": "varchar",
|
||||
"required": false,
|
||||
"maxLength": 100,
|
||||
"tooltip": true,
|
||||
"isCustom": true
|
||||
},
|
||||
"vorzeitigeRaeumungZulaessig": {
|
||||
"type": "enum",
|
||||
"required": false,
|
||||
"options": [
|
||||
"Nein",
|
||||
"JaKeinWohnraum257ZPO",
|
||||
"JaBesorgnisgrund259ZPO"
|
||||
],
|
||||
"default": "Nein",
|
||||
"tooltip": true,
|
||||
"isCustom": true
|
||||
},
|
||||
"beschreibungBesorgnisgrund": {
|
||||
"type": "text",
|
||||
"required": false,
|
||||
"tooltip": true,
|
||||
"isCustom": true
|
||||
},
|
||||
"notizen": {
|
||||
"type": "text",
|
||||
"required": false,
|
||||
"isCustom": true
|
||||
},
|
||||
"rueckstandMiete": {
|
||||
"type": "currency",
|
||||
"required": false,
|
||||
"default": 0,
|
||||
"isCustom": true
|
||||
},
|
||||
"rueckstandNebenkosten": {
|
||||
"type": "currency",
|
||||
"required": false,
|
||||
"default": 0,
|
||||
"isCustom": true
|
||||
},
|
||||
"sonstigeForderungen": {
|
||||
"type": "currency",
|
||||
"required": false,
|
||||
"default": 0,
|
||||
"isCustom": true
|
||||
},
|
||||
"aussergerichtlicheGebuehren13": {
|
||||
"mietrueckstand": {
|
||||
"type": "currency",
|
||||
"required": false,
|
||||
"default": 0,
|
||||
"tooltip": true,
|
||||
"isCustom": true
|
||||
}
|
||||
},
|
||||
@@ -254,14 +259,6 @@
|
||||
"audited": false,
|
||||
"isCustom": true
|
||||
},
|
||||
"mietobjekte": {
|
||||
"type": "hasMany",
|
||||
"relationName": "cMietobjektKuendigung",
|
||||
"foreign": "kndigungen",
|
||||
"entity": "CMietobjekt",
|
||||
"audited": false,
|
||||
"isCustom": true
|
||||
},
|
||||
"freigeschalteteNutzer": {
|
||||
"type": "belongsTo",
|
||||
"foreign": "cKndigungen",
|
||||
|
||||
Reference in New Issue
Block a user