Refactor code structure for improved readability and maintainability

This commit is contained in:
2026-03-11 09:21:52 +01:00
parent c2766ec66a
commit 76c38e8ad4
77 changed files with 167175 additions and 539 deletions

View File

@@ -2,7 +2,10 @@
"fields": {
"cAdvowareAkte": "Advoware-Akte",
"cAdvowareAkteId": "Advoware-Akte ID",
"cAdvowareAkteName": "Advoware-Akte Name"
"cAdvowareAkteName": "Advoware-Akte Name",
"xaiCollectionId": "x.AI Collection ID",
"syncStatus": "Sync-Status",
"lastSync": "Letzte Synchronisation"
},
"links": {
"meetings": "Termine",
@@ -15,5 +18,19 @@
},
"labels": {
"Create CAICollection": "AI Collection erstellen"
},
"tooltips": {
"xaiCollectionId": "Collection ID für x.AI Synchronisation",
"syncStatus": "Status der x.AI-Synchronisation: pending_sync = Warte auf Sync, clean = erfolgreich synchronisiert, unclean = Änderungen ausstehend, failed = Fehler, no_sync = Nicht synchronisiert",
"lastSync": "Zeitpunkt der letzten Synchronisation mit x.AI"
},
"options": {
"syncStatus": {
"pending_sync": "Warte auf Sync",
"clean": "Synchronisiert",
"unclean": "Änderungen ausstehend",
"failed": "Fehlgeschlagen",
"no_sync": "Kein Sync"
}
}
}

View File

@@ -1,4 +1,10 @@
{
"fields": {
"advowareAktenzeichen": "Advoware Aktenzeichen",
"aktennr": "Advoware Identifikator",
"syncStatus": "Sync-Status",
"lastSync": "Letzte Synchronisation"
},
"links": {
"meetings": "Termine",
"calls": "Anrufe",
@@ -10,5 +16,20 @@
},
"labels": {
"Create CAdvowareAkten": "Advoware Akte erstellen"
},
"tooltips": {
"advowareAktenzeichen": "Aktenzeichen aus dem Advoware-System",
"aktennr": "Eindeutige Aktennummer aus Advoware",
"syncStatus": "Status der Advoware-Synchronisation: pending_sync = Warte auf Sync, clean = erfolgreich synchronisiert, unclean = Änderungen ausstehend, failed = Fehler, no_sync = Nicht synchronisiert",
"lastSync": "Zeitpunkt der letzten Synchronisation mit Advoware"
},
"options": {
"syncStatus": {
"pending_sync": "Warte auf Sync",
"clean": "Synchronisiert",
"unclean": "Änderungen ausstehend",
"failed": "Fehlgeschlagen",
"no_sync": "Kein Sync"
}
}
}

View File

@@ -1,9 +1,5 @@
{
"fields": {
"advowareAktenzeichen": "Advoware Aktenzeichen",
"aktennr": "Advoware Identifikator",
"advowareLastSync": "Advoware letzte Synchronisation",
"syncStatus": "Sync-Status",
"klaeger": "Kläger",
"beklagte": "Beklagte",
"vmhMietverhltnises": "Mietverhältnisse",
@@ -45,18 +41,8 @@
"Create CMietinkasso": "Mietinkasso erstellen"
},
"tooltips": {
"advowareAktenzeichen": "Aktenzeichen aus dem Advoware-System",
"aktennr": "Eindeutige Inkasso-Nummer aus Advoware",
"advowareLastSync": "Zeitpunkt der letzten Synchronisation mit Advoware",
"syncStatus": "Status der Advoware-Synchronisation: pending_sync = Warte auf Sync, clean = erfolgreich synchronisiert, unclean = Änderungen ausstehend, failed = Fehler, no_sync = Nicht synchronisiert"
},
"options": {
"syncStatus": {
"pending_sync": "Warte auf Sync",
"clean": "Synchronisiert",
"unclean": "Änderungen ausstehend",
"failed": "Fehlgeschlagen",
"no_sync": "Kein Sync"
}
"gerichtsrubrum": "Rubrum des Gerichtsverfahrens",
"gegenstandswert": "Wert des Streitgegenstands",
"kuendigungsservice": "Kündigungsservice aktiviert"
}
}

View File

@@ -1,11 +1,6 @@
{
"fields": {
"portalUser": "Portalnutzer",
"advowareAktenzeichen": "Advoware Aktenzeichen",
"aktennr": "Advoware Identifikator",
"advowareLastSync": "Advoware letzte Synchronisation",
"syncStatus": "Sync-Status",
"xaiCollectionId": "x.AI Collection ID",
"klaeger": "Kläger",
"beklagte": "Beklagte",
"vmhMietverhltnises": "Mietverhältnisse",
@@ -47,19 +42,8 @@
"Create CVmhRumungsklage": "Räumungsklage erstellen"
},
"tooltips": {
"advowareAktenzeichen": "Aktenzeichen aus dem Advoware-System",
"aktennr": "Eindeutige Klage-Nummer aus Advoware",
"advowareLastSync": "Zeitpunkt der letzten Synchronisation mit Advoware",
"syncStatus": "Status der Advoware-Synchronisation: pending_sync = Warte auf Sync, clean = erfolgreich synchronisiert, unclean = Änderungen ausstehend, failed = Fehler, no_sync = Nicht synchronisiert",
"xaiCollectionId": "Collection ID für x.AI Synchronisation"
},
"options": {
"syncStatus": {
"pending_sync": "Warte auf Sync",
"clean": "Synchronisiert",
"unclean": "Änderungen ausstehend",
"failed": "Fehlgeschlagen",
"no_sync": "Kein Sync"
}
"gerichtsrubrum": "Rubrum des Gerichtsverfahrens",
"gegenstandswert": "Wert des Streitgegenstands",
"kuendigungsservice": "Kündigungsservice aktiviert"
}
}

View File

@@ -2,7 +2,10 @@
"fields": {
"cAdvowareAkte": "Advoware File",
"cAdvowareAkteId": "Advoware File ID",
"cAdvowareAkteName": "Advoware File Name"
"cAdvowareAkteName": "Advoware File Name",
"xaiCollectionId": "x.AI Collection ID",
"syncStatus": "Sync Status",
"lastSync": "Last Sync"
},
"links": {
"meetings": "Meetings",
@@ -15,5 +18,19 @@
},
"labels": {
"Create CAICollection": "Create AI Collection"
},
"tooltips": {
"xaiCollectionId": "Collection ID for x.AI synchronization",
"syncStatus": "x.AI synchronization status: pending_sync = Waiting for sync, clean = successfully synchronized, unclean = changes pending, failed = error, no_sync = Not synchronized",
"lastSync": "Time of last synchronization with x.AI"
},
"options": {
"syncStatus": {
"pending_sync": "Waiting for Sync",
"clean": "Synchronized",
"unclean": "Changes Pending",
"failed": "Failed",
"no_sync": "No Sync"
}
}
}

View File

@@ -1,5 +1,9 @@
{
"fields": {
"advowareAktenzeichen": "Advoware Case Number",
"aktennr": "Advoware Identifier",
"syncStatus": "Sync Status",
"lastSync": "Last Sync"
},
"links": {
"meetings": "Meetings",
@@ -12,5 +16,20 @@
},
"labels": {
"Create CAdvowareAkten": "Create Advoware Akte"
},
"tooltips": {
"advowareAktenzeichen": "Case number from Advoware system",
"aktennr": "Unique case number from Advoware",
"syncStatus": "Advoware synchronization status: pending_sync = Waiting for sync, clean = successfully synchronized, unclean = changes pending, failed = error, no_sync = Not synchronized",
"lastSync": "Time of last synchronization with Advoware"
},
"options": {
"syncStatus": {
"pending_sync": "Waiting for Sync",
"clean": "Synchronized",
"unclean": "Changes Pending",
"failed": "Failed",
"no_sync": "No Sync"
}
}
}

View File

@@ -1,9 +1,5 @@
{
"fields": {
"advowareAktenzeichen": "Advoware Case Number",
"aktennr": "Advoware Identifier",
"advowareLastSync": "Advoware Last Sync",
"syncStatus": "Sync Status",
"klaeger": "Plaintiff",
"beklagte": "Defendant",
"vmhMietverhltnises": "Tenancies",
@@ -45,18 +41,8 @@
"Create CMietinkasso": "Create Mietinkasso"
},
"tooltips": {
"advowareAktenzeichen": "Case number from Advoware system",
"aktennr": "Unique collection number from Advoware",
"advowareLastSync": "Time of last synchronization with Advoware",
"syncStatus": "Advoware synchronization status: pending_sync = Waiting for sync, clean = successfully synchronized, unclean = changes pending, failed = error, no_sync = Not synchronized"
},
"options": {
"syncStatus": {
"pending_sync": "Waiting for Sync",
"clean": "Synchronized",
"unclean": "Changes Pending",
"failed": "Failed",
"no_sync": "No Sync"
}
"gerichtsrubrum": "Court proceeding rubrum",
"gegenstandswert": "Value of the disputed matter",
"kuendigungsservice": "Termination service enabled"
}
}

View File

@@ -40,15 +40,8 @@
"Create CVmhRumungsklage": "Create Räumungsklage"
},
"tooltips": {
"syncStatus": "Advoware synchronization status: pending_sync = Waiting for sync, clean = successfully synchronized, unclean = changes pending, failed = error, no_sync = Not synchronized"
},
"options": {
"syncStatus": {
"pending_sync": "Waiting for Sync",
"clean": "Synchronized",
"unclean": "Changes Pending",
"failed": "Failed",
"no_sync": "No Sync"
}
"gerichtsrubrum": "Court proceeding rubrum",
"gegenstandswert": "Value of the disputed matter",
"kuendigungsservice": "Termination service enabled"
}
}

View File

@@ -6,7 +6,7 @@
"name": "name"
},
{
"name": "advowareAktenzeichen"
"name": "cAdvowareAkte"
},
{
"name": "gerichtsrubrum"
@@ -53,19 +53,17 @@
"rows": [
[
{
"name": "aktennr"
"name": "cAdvowareAkte"
},
{
"name": "syncStatus"
"name": "cAICollection"
},
{
"name": "advowareLastSync"
}
{}
]
],
"style": "default",
"tabBreak": true,
"tabLabel": "Erweitert",
"label": "Advoware Sync"
"label": "Sync Drittsysteme"
}
]

View File

@@ -5,7 +5,7 @@
"width": 28
},
{
"name": "advowareAktenzeichen",
"name": "cAdvowareAkte",
"width": 22
},
{

View File

@@ -4,7 +4,7 @@
"link": true
},
{
"name": "advowareAktenzeichen"
"name": "cAdvowareAkte"
},
{
"name": "gegenstandswert"

View File

@@ -6,7 +6,7 @@
"name": "name"
},
{
"name": "advowareAktenzeichen"
"name": "cAdvowareAkte"
},
{
"name": "gerichtsrubrum"
@@ -53,33 +53,17 @@
"rows": [
[
{
"name": "aktennr"
"name": "cAdvowareAkte"
},
{
"name": "syncStatus"
"name": "cAICollection"
},
{
"name": "advowareLastSync"
}
{}
]
],
"style": "default",
"tabBreak": true,
"tabLabel": "Erweitert",
"label": "Advoware Sync"
},
{
"rows": [
[
{
"name": "xaiCollectionId"
},
{},
{}
]
],
"style": "default",
"tabBreak": false,
"label": "x.AI Sync"
"label": "Sync Drittsysteme"
}
]

View File

@@ -5,7 +5,7 @@
"width": 28
},
{
"name": "advowareAktenzeichen",
"name": "cAdvowareAkte",
"width": 22
},
{

View File

@@ -4,7 +4,7 @@
"link": true
},
{
"name": "advowareAktenzeichen"
"name": "cAdvowareAkte"
},
{
"name": "gegenstandswert"

View File

@@ -34,6 +34,42 @@
"teams": {
"type": "linkMultiple",
"view": "views/fields/teams"
},
"xaiCollectionId": {
"type": "varchar",
"required": false,
"maxLength": 100,
"tooltip": true,
"isCustom": true,
"copyToClipboard": true
},
"syncStatus": {
"type": "enum",
"required": false,
"options": [
"pending_sync",
"clean",
"unclean",
"failed",
"no_sync"
],
"style": {
"pending_sync": "default",
"clean": "success",
"unclean": "warning",
"failed": "danger",
"no_sync": null
},
"default": "no_sync",
"tooltip": true,
"isCustom": true
},
"lastSync": {
"type": "datetime",
"required": false,
"readOnly": true,
"tooltip": true,
"isCustom": true
}
},
"links": {

View File

@@ -34,6 +34,48 @@
"teams": {
"type": "linkMultiple",
"view": "views/fields/teams"
},
"advowareAktenzeichen": {
"type": "varchar",
"required": false,
"maxLength": 100,
"tooltip": true,
"isCustom": true,
"copyToClipboard": true
},
"aktennr": {
"type": "int",
"required": false,
"tooltip": true,
"isCustom": true
},
"syncStatus": {
"type": "enum",
"required": false,
"options": [
"pending_sync",
"clean",
"unclean",
"failed",
"no_sync"
],
"style": {
"pending_sync": "default",
"clean": "success",
"unclean": "warning",
"failed": "danger",
"no_sync": null
},
"default": "no_sync",
"tooltip": true,
"isCustom": true
},
"lastSync": {
"type": "datetime",
"required": false,
"readOnly": true,
"tooltip": true,
"isCustom": true
}
},
"links": {

View File

@@ -52,48 +52,6 @@
"tooltipText"
]
},
"advowareAktenzeichen": {
"type": "varchar",
"required": false,
"maxLength": 100,
"tooltip": true,
"isCustom": true,
"copyToClipboard": true
},
"aktennr": {
"type": "int",
"required": false,
"tooltip": true,
"isCustom": true
},
"advowareLastSync": {
"type": "datetime",
"required": false,
"readOnly": true,
"tooltip": true,
"isCustom": true
},
"syncStatus": {
"type": "enum",
"required": false,
"options": [
"pending_sync",
"clean",
"unclean",
"failed",
"no_sync"
],
"style": {
"pending_sync": "default",
"clean": "success",
"unclean": "warning",
"failed": "danger",
"no_sync": null
},
"default": "no_sync",
"tooltip": true,
"isCustom": true
},
"gerichtsrubrum": {
"type": "text",
"required": false,

View File

@@ -52,56 +52,6 @@
"tooltipText"
]
},
"advowareAktenzeichen": {
"type": "varchar",
"required": false,
"maxLength": 100,
"tooltip": true,
"isCustom": true,
"copyToClipboard": true
},
"aktennr": {
"type": "int",
"required": false,
"tooltip": true,
"isCustom": true
},
"advowareLastSync": {
"type": "datetime",
"required": false,
"readOnly": true,
"tooltip": true,
"isCustom": true
},
"xaiCollectionId": {
"type": "varchar",
"required": false,
"maxLength": 100,
"tooltip": true,
"isCustom": true,
"copyToClipboard": true
},
"syncStatus": {
"type": "enum",
"required": false,
"options": [
"pending_sync",
"clean",
"unclean",
"failed",
"no_sync"
],
"style": {
"pending_sync": "default",
"clean": "success",
"unclean": "warning",
"failed": "danger",
"no_sync": null
},
"default": "no_sync",
"tooltip": true,
"isCustom": true
},
"gerichtsrubrum": {
"type": "text",
"required": false,
@@ -310,26 +260,10 @@
"id"
]
},
"aktennr": {
"columns": [
"aktennr"
]
},
"advowareAktenzeichen": {
"columns": [
"advowareAktenzeichen"
]
},
"gegenstandswert": {
"columns": [
"gegenstandswert"
]
},
"syncStatus": {
"columns": [
"syncStatus",
"deleted"
]
}
},
"optimisticConcurrencyControl": false

0
custom/scripts/set_junction_acl.php Executable file → Normal file
View File

0
custom/scripts/validate_and_rebuild.py Executable file → Normal file
View File