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

@@ -47,7 +47,7 @@ class PropagateDocuments implements AfterRelate, AfterUnrelate
// Set direct belongsTo relationship on document
if ($advowareAkten) {
$foreignEntity->set('cAdvowareAktenId', $advowareAkten->getId());
$foreignEntity->set('cAktenId', $advowareAkten->getId());
$foreignEntity->set('syncStatus', 'new'); // Mark as new for Advoware sync
$this->entityManager->saveEntity($foreignEntity, ['silent' => true, 'skipHooks' => true]);
}
@@ -96,8 +96,8 @@ class PropagateDocuments implements AfterRelate, AfterUnrelate
->findOne();
// Remove direct belongsTo relationship from document
if ($advowareAkten && $foreignEntity->get('cAdvowareAktenId') === $advowareAkten->getId()) {
$foreignEntity->set('cAdvowareAktenId', null);
if ($advowareAkten && $foreignEntity->get('cAktenId') === $advowareAkten->getId()) {
$foreignEntity->set('cAktenId', null);
$this->entityManager->saveEntity($foreignEntity, ['silent' => true, 'skipHooks' => true]);
}