Add localization files and layout configurations for CAkten and related entities

- Created localization JSON files for multiple languages (e.g., Danish, German, Greek, English, Spanish, etc.) for CAkten and CAktenCDokumente.
- Added layout configurations for CAkten, including detail views, side panels, and bottom panels.
- Implemented metadata definitions for CAkten, including field definitions, relationship panels, and scopes.
- Introduced new JSON files for managing document relationships and listing configurations.
This commit is contained in:
2026-03-26 01:56:22 +01:00
parent 661943987f
commit 6ac852b42a
85 changed files with 1387 additions and 276 deletions

View File

@@ -59,8 +59,8 @@ class PropagateDocumentsUp implements AfterRelate, AfterUnrelate
->getRelation($raumungsklage, 'advowareAkten')
->findOne();
if ($advowareAkte && !$foreignEntity->get('cAdvowareAktenId')) {
$foreignEntity->set('cAdvowareAktenId', $advowareAkte->getId());
if ($advowareAkte && !$foreignEntity->get('cAktenId')) {
$foreignEntity->set('cAktenId', $advowareAkte->getId());
$foreignEntity->set('syncStatus', 'new');
$this->entityManager->saveEntity($foreignEntity, ['silent' => true, 'skipHooks' => true]);
}
@@ -81,8 +81,8 @@ class PropagateDocumentsUp implements AfterRelate, AfterUnrelate
->getRelation($mietinkasso, 'advowareAkten')
->findOne();
if ($advowareAkte && !$foreignEntity->get('cAdvowareAktenId')) {
$foreignEntity->set('cAdvowareAktenId', $advowareAkte->getId());
if ($advowareAkte && !$foreignEntity->get('cAktenId')) {
$foreignEntity->set('cAktenId', $advowareAkte->getId());
$foreignEntity->set('syncStatus', 'new');
$this->entityManager->saveEntity($foreignEntity, ['silent' => true, 'skipHooks' => true]);
}
@@ -134,7 +134,7 @@ class PropagateDocumentsUp implements AfterRelate, AfterUnrelate
$this->unrelateDocument($mietinkasso, 'dokumentesmietinkasso', $foreignEntity);
}
// Note: We don't remove cAdvowareAktenId on unrelate from AIKnowledge
// Note: We don't remove cAktenId on unrelate from AIKnowledge
// because the document might still be linked to Räumungsklage/Mietinkasso
} catch (\Exception $e) {