From dfb0ff1fbcbe1f359b29b1363fb338428249149f Mon Sep 17 00:00:00 2001 From: bsiggel Date: Sat, 24 Jan 2026 00:15:54 +0100 Subject: [PATCH] Add new CVMHBeteiligte entity with localization support; update related links and fields in multiple JSON files --- .vscode/settings.json | 4 ++ .../i18n/de_DE/CBankverbindungen.json | 1 + .../Resources/i18n/de_DE/CBeteiligte.json | 1 + .../Resources/i18n/de_DE/CCallQueues.json | 1 + .../Resources/i18n/de_DE/CDokumente.json | 3 +- .../Resources/i18n/de_DE/CMietinkasso.json | 2 + .../Resources/i18n/de_DE/CMietobjekt.json | 3 ++ .../Resources/i18n/de_DE/CVMHBeteiligte.json | 42 +++++++++++++++++++ .../i18n/de_DE/CVmhErstgespraech.json | 1 + .../i18n/de_DE/CVmhMietverhltnis.json | 1 + .../i18n/de_DE/CVmhRumungsklage.json | 2 + .../Resources/i18n/de_DE/CVmhVermieter.json | 2 + .../Custom/Resources/i18n/de_DE/Contact.json | 1 + .../i18n/en_US/CBankverbindungen.json | 3 +- .../Resources/i18n/en_US/CBeteiligte.json | 3 +- .../Resources/i18n/en_US/CDokumente.json | 3 +- .../Resources/i18n/en_US/CMietinkasso.json | 1 + .../Resources/i18n/en_US/CMietobjekt.json | 3 ++ .../Resources/i18n/en_US/CVMHBeteiligte.json | 42 +++++++++++++++++++ .../i18n/en_US/CVmhRumungsklage.json | 2 + .../Resources/i18n/en_US/CVmhVermieter.json | 1 + .../Custom/Resources/i18n/en_US/Contact.json | 8 +++- .../Resources/metadata/formula/CAdressen.json | 3 -- .../metadata/formula/CBankverbindungen.json | 3 -- data/config.php | 4 +- 25 files changed, 127 insertions(+), 13 deletions(-) create mode 100644 custom/Espo/Custom/Resources/i18n/de_DE/CVMHBeteiligte.json create mode 100644 custom/Espo/Custom/Resources/i18n/en_US/CVMHBeteiligte.json delete mode 100644 custom/Espo/Custom/Resources/metadata/formula/CAdressen.json delete mode 100644 custom/Espo/Custom/Resources/metadata/formula/CBankverbindungen.json diff --git a/.vscode/settings.json b/.vscode/settings.json index 068018b5..92823690 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -12,6 +12,10 @@ "/^python3 custom/scripts/validate_and_rebuild\\.py 2>&1 \\| tail -50$/": { "approve": true, "matchCommandLine": true + }, + "/^python3 custom/scripts/validate_and_rebuild\\.py 2>&1$/": { + "approve": true, + "matchCommandLine": true } } } \ No newline at end of file diff --git a/custom/Espo/Custom/Resources/i18n/de_DE/CBankverbindungen.json b/custom/Espo/Custom/Resources/i18n/de_DE/CBankverbindungen.json index 2c0ba31d..cbb55fc6 100644 --- a/custom/Espo/Custom/Resources/i18n/de_DE/CBankverbindungen.json +++ b/custom/Espo/Custom/Resources/i18n/de_DE/CBankverbindungen.json @@ -24,6 +24,7 @@ }, "links": { "beteiligte": "Beteiligter", + "contactsBankverbindung": "Kontakte", "createdBy": "Erstellt von", "modifiedBy": "Geändert von", "assignedUser": "Zugewiesen an", diff --git a/custom/Espo/Custom/Resources/i18n/de_DE/CBeteiligte.json b/custom/Espo/Custom/Resources/i18n/de_DE/CBeteiligte.json index d6ff5fc3..559d2481 100644 --- a/custom/Espo/Custom/Resources/i18n/de_DE/CBeteiligte.json +++ b/custom/Espo/Custom/Resources/i18n/de_DE/CBeteiligte.json @@ -23,6 +23,7 @@ "disgTyp": "Persönlichkeitstyp (nach DISG)" }, "links": { + "meetings": "Termine", "calls": "Anrufe", "tasks": "Aufgaben", "vmhvermieterbeteiligte": "Vermieter", diff --git a/custom/Espo/Custom/Resources/i18n/de_DE/CCallQueues.json b/custom/Espo/Custom/Resources/i18n/de_DE/CCallQueues.json index 6873a6d2..542a2b99 100644 --- a/custom/Espo/Custom/Resources/i18n/de_DE/CCallQueues.json +++ b/custom/Espo/Custom/Resources/i18n/de_DE/CCallQueues.json @@ -4,6 +4,7 @@ "calls1": "Anrufe" }, "links": { + "meetings": "Termine", "calls": "Anrufe", "tasks": "Aufgaben", "user": "Benutzer", diff --git a/custom/Espo/Custom/Resources/i18n/de_DE/CDokumente.json b/custom/Espo/Custom/Resources/i18n/de_DE/CDokumente.json index 046574d1..8484ef7a 100644 --- a/custom/Espo/Custom/Resources/i18n/de_DE/CDokumente.json +++ b/custom/Espo/Custom/Resources/i18n/de_DE/CDokumente.json @@ -21,7 +21,8 @@ "vmhErstgespraechsdokumente": "Erstgespräche", "vmhRumungsklagesdokumente": "Räumungsklagen", "beteiligte2dokumente": "Beteiligte", - "mietobjekt2dokumente": "Mietobjekte" + "mietobjekt2dokumente": "Mietobjekte", + "mietinkassosdokumente": "Mietinkasso" }, "labels": { "Create CDokumente": "Dokument erstellen" diff --git a/custom/Espo/Custom/Resources/i18n/de_DE/CMietinkasso.json b/custom/Espo/Custom/Resources/i18n/de_DE/CMietinkasso.json index b8480854..26baaf82 100644 --- a/custom/Espo/Custom/Resources/i18n/de_DE/CMietinkasso.json +++ b/custom/Espo/Custom/Resources/i18n/de_DE/CMietinkasso.json @@ -20,11 +20,13 @@ "vmhVermietersMIK": "Vermieter" }, "links": { + "meetings": "Termine", "calls": "Anrufe", "tasks": "Aufgaben", "klaeger": "Kläger", "beklagte": "Beklagte", "vmhMietverhltnises": "Mietverhältnisse", + "mietobjekte": "Mietobjekte", "contactsMietinkasso": "Freigegebene Nutzer", "dokumentesmietinkasso": "Dokumente", "freigeschalteteNutzer": "Freigeschaltete Nutzer (veraltet)", diff --git a/custom/Espo/Custom/Resources/i18n/de_DE/CMietobjekt.json b/custom/Espo/Custom/Resources/i18n/de_DE/CMietobjekt.json index 77603964..9dc0f9d6 100644 --- a/custom/Espo/Custom/Resources/i18n/de_DE/CMietobjekt.json +++ b/custom/Espo/Custom/Resources/i18n/de_DE/CMietobjekt.json @@ -11,6 +11,9 @@ "links": { "vmhMietverhltnises2Mietobjekt": "Mietverhältnisse (veraltet)", "vmhMietverhltnises": "Mietverhältnisse", + "contact2mietobjekt": "Kontakte", + "vmhRumungsklages": "Räumungsklagen", + "mietinkassos": "Mietinkasso", "contactsMietobjekt": "Freigegebene Nutzer", "dokumentesMietobjekt": "Dokumente" }, diff --git a/custom/Espo/Custom/Resources/i18n/de_DE/CVMHBeteiligte.json b/custom/Espo/Custom/Resources/i18n/de_DE/CVMHBeteiligte.json new file mode 100644 index 00000000..c5ddd824 --- /dev/null +++ b/custom/Espo/Custom/Resources/i18n/de_DE/CVMHBeteiligte.json @@ -0,0 +1,42 @@ +{ + "fields": { + "name": "Name", + "salutationName": "Anrede", + "firstName": "Vorname", + "lastName": "Nachname", + "description": "Beschreibung", + "emailAddress": "E-Mail", + "phoneNumber": "Telefon", + "address": "Adresse", + "addressStreet": "Straße", + "addressCity": "Stadt", + "addressState": "Bundesland", + "addressCountry": "Land", + "addressPostalCode": "PLZ", + "createdAt": "Erstellt am", + "modifiedAt": "Geändert am", + "createdBy": "Erstellt von", + "modifiedBy": "Geändert von", + "assignedUser": "Zugewiesen an", + "teams": "Teams" + }, + "links": { + "createdBy": "Erstellt von", + "modifiedBy": "Geändert von", + "assignedUser": "Zugewiesen an", + "teams": "Teams", + "meetings": "Termine", + "calls": "Anrufe", + "tasks": "Aufgaben" + }, + "labels": { + "Create CVMHBeteiligte": "VMH Beteiligte erstellen", + "VMH Beteiligte": "VMH Beteiligte" + }, + "scopeNames": { + "CVMHBeteiligte": "VMH Beteiligte" + }, + "scopeNamesPlural": { + "CVMHBeteiligte": "VMH Beteiligte" + } +} diff --git a/custom/Espo/Custom/Resources/i18n/de_DE/CVmhErstgespraech.json b/custom/Espo/Custom/Resources/i18n/de_DE/CVmhErstgespraech.json index d1c3f9d0..bc0c31ad 100644 --- a/custom/Espo/Custom/Resources/i18n/de_DE/CVmhErstgespraech.json +++ b/custom/Espo/Custom/Resources/i18n/de_DE/CVmhErstgespraech.json @@ -75,6 +75,7 @@ "saeumnis1InstanzSumme": "Säumnis I. Inst.: Summe" }, "links": { + "meetings": "Termine", "calls": "Anrufe", "tasks": "Aufgaben", "contact": "Kontakt", diff --git a/custom/Espo/Custom/Resources/i18n/de_DE/CVmhMietverhltnis.json b/custom/Espo/Custom/Resources/i18n/de_DE/CVmhMietverhltnis.json index 4d8cb015..16f1c1f3 100644 --- a/custom/Espo/Custom/Resources/i18n/de_DE/CVmhMietverhltnis.json +++ b/custom/Espo/Custom/Resources/i18n/de_DE/CVmhMietverhltnis.json @@ -28,6 +28,7 @@ "warmmiete": "Summe aus Kaltmiete + BK-Vorauszahlung + BK-Pauschale" }, "links": { + "meetings": "Besprechungen", "calls": "Anrufe", "tasks": "Aufgaben", "vmhRumungsklages": "Räumungsklagen", diff --git a/custom/Espo/Custom/Resources/i18n/de_DE/CVmhRumungsklage.json b/custom/Espo/Custom/Resources/i18n/de_DE/CVmhRumungsklage.json index deeae4d5..2f01e608 100644 --- a/custom/Espo/Custom/Resources/i18n/de_DE/CVmhRumungsklage.json +++ b/custom/Espo/Custom/Resources/i18n/de_DE/CVmhRumungsklage.json @@ -21,11 +21,13 @@ "vmhVermietersRKL": "Vermieter" }, "links": { + "meetings": "Termine", "calls": "Anrufe", "tasks": "Aufgaben", "klaeger": "Kläger", "beklagte": "Beklagte", "vmhMietverhltnises": "Mietverhältnisse", + "mietobjekte": "Mietobjekte", "contactsRumungsklage": "Freigegebene Nutzer", "dokumentesvmhraumungsklage": "Dokumente", "freigeschalteteNutzer": "Freigeschaltete Nutzer (veraltet)", diff --git a/custom/Espo/Custom/Resources/i18n/de_DE/CVmhVermieter.json b/custom/Espo/Custom/Resources/i18n/de_DE/CVmhVermieter.json index 8267a124..352d1a36 100644 --- a/custom/Espo/Custom/Resources/i18n/de_DE/CVmhVermieter.json +++ b/custom/Espo/Custom/Resources/i18n/de_DE/CVmhVermieter.json @@ -8,9 +8,11 @@ "vmhKontaktpersonenVermieter": "Kontaktpersonen" }, "links": { + "meetings": "Besprechungen", "calls": "Anrufe", "tasks": "Aufgaben", "vmhRumungsklagesVermieter": "Räumungsklagen", + "mietinkassosVermieter": "Mietinkasso", "contactsVermieter": "Freigegebene Nutzer", "vmhKontaktpersonenVermieter": "Kontaktpersonen" }, diff --git a/custom/Espo/Custom/Resources/i18n/de_DE/Contact.json b/custom/Espo/Custom/Resources/i18n/de_DE/Contact.json index 15923bd7..ca681698 100644 --- a/custom/Espo/Custom/Resources/i18n/de_DE/Contact.json +++ b/custom/Espo/Custom/Resources/i18n/de_DE/Contact.json @@ -28,6 +28,7 @@ "cMietobjekteContactPortal": "Mietobjekte (Portal)", "cAdressenContact": "Adressen", "cVmhRumungsklageContact": "Räumungsklagen (Portal)", + "cMietinkassoContact": "Mietinkasso", "cBankverbindungenContact": "Bankverbindungen" }, "options": { diff --git a/custom/Espo/Custom/Resources/i18n/en_US/CBankverbindungen.json b/custom/Espo/Custom/Resources/i18n/en_US/CBankverbindungen.json index e677e586..2cf2bf19 100644 --- a/custom/Espo/Custom/Resources/i18n/en_US/CBankverbindungen.json +++ b/custom/Espo/Custom/Resources/i18n/en_US/CBankverbindungen.json @@ -13,7 +13,8 @@ "beteiligte": "Participant" }, "links": { - "beteiligte": "Participant" + "beteiligte": "Participant", + "contactsBankverbindung": "Contacts" }, "labels": { "Create CBankverbindungen": "Create Bank Account" diff --git a/custom/Espo/Custom/Resources/i18n/en_US/CBeteiligte.json b/custom/Espo/Custom/Resources/i18n/en_US/CBeteiligte.json index a67aa59b..64018d9c 100644 --- a/custom/Espo/Custom/Resources/i18n/en_US/CBeteiligte.json +++ b/custom/Espo/Custom/Resources/i18n/en_US/CBeteiligte.json @@ -28,7 +28,8 @@ "mietinkassosKlaeger": "Rent Collection (Plaintiff)", "mietinkassosBeklagte": "Rent Collection (Defendant)", "contactsBeteiligte": "Portal Users", - "dokumentesBeteiligte": "Documents" + "dokumentesBeteiligte": "Documents", + "bankverbindungens": "Bank Accounts" }, "labels": { "Create CBeteiligte": "Create Beteiligte" diff --git a/custom/Espo/Custom/Resources/i18n/en_US/CDokumente.json b/custom/Espo/Custom/Resources/i18n/en_US/CDokumente.json index b4a362e9..03d224db 100644 --- a/custom/Espo/Custom/Resources/i18n/en_US/CDokumente.json +++ b/custom/Espo/Custom/Resources/i18n/en_US/CDokumente.json @@ -18,7 +18,8 @@ "vmhErstgespraechsdokumente": "Initial Consultations", "vmhRumungsklagesdokumente": "Eviction Lawsuits", "beteiligte2dokumente": "Parties", - "mietobjekt2dokumente": "Properties" + "mietobjekt2dokumente": "Properties", + "mietinkassosdokumente": "Rent Collection" }, "labels": { "Create CDokumente": "Create Dokument" diff --git a/custom/Espo/Custom/Resources/i18n/en_US/CMietinkasso.json b/custom/Espo/Custom/Resources/i18n/en_US/CMietinkasso.json index 32a5c120..7a9b6ba1 100644 --- a/custom/Espo/Custom/Resources/i18n/en_US/CMietinkasso.json +++ b/custom/Espo/Custom/Resources/i18n/en_US/CMietinkasso.json @@ -26,6 +26,7 @@ "klaeger": "Plaintiff", "beklagte": "Defendant", "vmhMietverhltnises": "Tenancies", + "mietobjekte": "Properties", "contactsMietinkasso": "Portal Users", "dokumentesmietinkasso": "Documents", "freigeschalteteNutzer": "Activated Users (deprecated)", diff --git a/custom/Espo/Custom/Resources/i18n/en_US/CMietobjekt.json b/custom/Espo/Custom/Resources/i18n/en_US/CMietobjekt.json index 78649888..2be10fca 100644 --- a/custom/Espo/Custom/Resources/i18n/en_US/CMietobjekt.json +++ b/custom/Espo/Custom/Resources/i18n/en_US/CMietobjekt.json @@ -16,7 +16,10 @@ }, "links": { "vmhMietverhltnises2Mietobjekt": "Tenancies", + "vmhMietverhltnises": "Tenancies", "contact2mietobjekt": "Contacts", + "vmhRumungsklages": "Eviction Lawsuits", + "mietinkassos": "Rent Collection", "contactsMietobjekt": "Portal Users", "dokumentesMietobjekt": "Documents" }, diff --git a/custom/Espo/Custom/Resources/i18n/en_US/CVMHBeteiligte.json b/custom/Espo/Custom/Resources/i18n/en_US/CVMHBeteiligte.json new file mode 100644 index 00000000..8cb6507a --- /dev/null +++ b/custom/Espo/Custom/Resources/i18n/en_US/CVMHBeteiligte.json @@ -0,0 +1,42 @@ +{ + "fields": { + "name": "Name", + "salutationName": "Salutation", + "firstName": "First Name", + "lastName": "Last Name", + "description": "Description", + "emailAddress": "Email", + "phoneNumber": "Phone", + "address": "Address", + "addressStreet": "Street", + "addressCity": "City", + "addressState": "State", + "addressCountry": "Country", + "addressPostalCode": "Postal Code", + "createdAt": "Created At", + "modifiedAt": "Modified At", + "createdBy": "Created By", + "modifiedBy": "Modified By", + "assignedUser": "Assigned User", + "teams": "Teams" + }, + "links": { + "createdBy": "Created By", + "modifiedBy": "Modified By", + "assignedUser": "Assigned User", + "teams": "Teams", + "meetings": "Meetings", + "calls": "Calls", + "tasks": "Tasks" + }, + "labels": { + "Create CVMHBeteiligte": "Create VMH Party", + "VMH Beteiligte": "VMH Party" + }, + "scopeNames": { + "CVMHBeteiligte": "VMH Party" + }, + "scopeNamesPlural": { + "CVMHBeteiligte": "VMH Parties" + } +} diff --git a/custom/Espo/Custom/Resources/i18n/en_US/CVmhRumungsklage.json b/custom/Espo/Custom/Resources/i18n/en_US/CVmhRumungsklage.json index 0c2d1864..1d86e90c 100644 --- a/custom/Espo/Custom/Resources/i18n/en_US/CVmhRumungsklage.json +++ b/custom/Espo/Custom/Resources/i18n/en_US/CVmhRumungsklage.json @@ -19,7 +19,9 @@ "calls": "Calls", "tasks": "Tasks", "vmhMietverhltnises": "Tenancies", + "mietobjekte": "Properties", "freigeschalteteNutzer": "Activated Users", + "collaborators": "Collaborators", "vmhVermietersRKL": "Landlord", "dokumentesvmhraumungsklage": "Documents", "beklagte": "Defendant", diff --git a/custom/Espo/Custom/Resources/i18n/en_US/CVmhVermieter.json b/custom/Espo/Custom/Resources/i18n/en_US/CVmhVermieter.json index 45e16590..1e65f7dd 100644 --- a/custom/Espo/Custom/Resources/i18n/en_US/CVmhVermieter.json +++ b/custom/Espo/Custom/Resources/i18n/en_US/CVmhVermieter.json @@ -12,6 +12,7 @@ "calls": "Calls", "tasks": "Tasks", "vmhRumungsklagesVermieter": "Räumungsklagen", + "mietinkassosVermieter": "Rent Collection", "contactsVermieter": "Freigegebene Nutzer", "vmhKontaktpersonenVermieter": "Kontaktpersonen" }, diff --git a/custom/Espo/Custom/Resources/i18n/en_US/Contact.json b/custom/Espo/Custom/Resources/i18n/en_US/Contact.json index 38e9c6e2..f4ac5932 100644 --- a/custom/Espo/Custom/Resources/i18n/en_US/Contact.json +++ b/custom/Espo/Custom/Resources/i18n/en_US/Contact.json @@ -17,7 +17,13 @@ "cVmhVermietersKontaktpersonen": "Vermieter", "cVmhMietverhltnisesContact": "Mietverhältnisse", "cDokumentesvmhcontact": "Dokumente", - "cVmhmietobjekt2contact": "Mietobjekts" + "cVmhmietobjekt2contact": "Mietobjekts", + "cBeteiligteContact": "Parties", + "cMietobjekteContactPortal": "Properties (Portal)", + "cAdressenContact": "Addresses", + "cVmhRumungsklageContact": "Eviction Lawsuits (Portal)", + "cMietinkassoContact": "Rent Collection", + "cBankverbindungenContact": "Bank Accounts" }, "options": { "cRechtsform": { diff --git a/custom/Espo/Custom/Resources/metadata/formula/CAdressen.json b/custom/Espo/Custom/Resources/metadata/formula/CAdressen.json deleted file mode 100644 index 865e3c29..00000000 --- a/custom/Espo/Custom/Resources/metadata/formula/CAdressen.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "beforeSaveCustomScript": null -} \ No newline at end of file diff --git a/custom/Espo/Custom/Resources/metadata/formula/CBankverbindungen.json b/custom/Espo/Custom/Resources/metadata/formula/CBankverbindungen.json deleted file mode 100644 index 9c82339a..00000000 --- a/custom/Espo/Custom/Resources/metadata/formula/CBankverbindungen.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "beforeSaveApiScript": "" -} \ No newline at end of file diff --git a/data/config.php b/data/config.php index e1cf9124..647667c1 100644 --- a/data/config.php +++ b/data/config.php @@ -359,8 +359,8 @@ return [ 0 => 'youtube.com', 1 => 'google.com' ], - 'cacheTimestamp' => 1769209783, - 'microtime' => 1769209783.769122, + 'cacheTimestamp' => 1769210138, + 'microtime' => 1769210138.514983, 'siteUrl' => 'https://crm.bitbylaw.com', 'fullTextSearchMinLength' => 4, 'appTimestamp' => 1768843902,