diff --git a/src/Bundle/ChillPersonBundle/Service/DocGenerator/AccompanyingPeriodWorkEvaluationContext.php b/src/Bundle/ChillPersonBundle/Service/DocGenerator/AccompanyingPeriodWorkEvaluationContext.php index 918b68dc1..90712c64d 100644 --- a/src/Bundle/ChillPersonBundle/Service/DocGenerator/AccompanyingPeriodWorkEvaluationContext.php +++ b/src/Bundle/ChillPersonBundle/Service/DocGenerator/AccompanyingPeriodWorkEvaluationContext.php @@ -179,7 +179,8 @@ class AccompanyingPeriodWorkEvaluationContext implements $doc = new AccompanyingPeriodWorkEvaluationDocument(); $doc->setStoredObject($storedObject) ->setAccompanyingPeriodWorkEvaluation($entity) - ->setTemplate($template); + ->setTemplate($template) + ->setTitle($this->translatableStringHelper->localize($template->getName())); $this->em->persist($doc); } }