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

@@ -30,12 +30,12 @@ class UpdateJunctionSyncStatus implements AfterSave
try {
// Set syncStatus = 'unclean' directly on CDokumente entity
// (only if it has an AdvowareAkte linked)
if ($entity->get('cAdvowareAktenId')) {
if ($entity->get('cAktenId')) {
$entity->set('syncStatus', 'unclean');
$this->entityManager->saveEntity($entity, ['silent' => true, 'skipHooks' => true]);
// Trigger parent AdvowareAkte update (will update syncStatus and lastSync via its own hook)
$akte = $this->entityManager->getEntityById('CAdvowareAkten', $entity->get('cAdvowareAktenId'));
$akte = $this->entityManager->getEntityById('CAkten', $entity->get('cAktenId'));
if ($akte) {
// Just touch the entity to trigger beforeSave hook
$this->entityManager->saveEntity($akte, ['silent' => true]);