allow changing evaluation for a document

- Remove restriction on changing evaluation in entity logic
This commit is contained in:
2025-08-13 17:01:24 +02:00
parent d508fde8d2
commit bf2181c2f1
4 changed files with 22 additions and 19 deletions

View File

@@ -46,7 +46,6 @@ readonly class AccompanyingPeriodWorkEvaluationDocumentMoveController
throw new AccessDeniedHttpException('not allowed to edit this accompanying period work');
}
// Simply set the new evaluation - Doctrine will handle the collection updates
$document->setAccompanyingPeriodWorkEvaluation($evaluation);
$this->entityManager->persist($document);