diff --git a/src/Bundle/ChillPersonBundle/Service/DocGenerator/AccompanyingPeriodWorkEvaluationContext.php b/src/Bundle/ChillPersonBundle/Service/DocGenerator/AccompanyingPeriodWorkEvaluationContext.php index 1c33c9323..efd687ec9 100644 --- a/src/Bundle/ChillPersonBundle/Service/DocGenerator/AccompanyingPeriodWorkEvaluationContext.php +++ b/src/Bundle/ChillPersonBundle/Service/DocGenerator/AccompanyingPeriodWorkEvaluationContext.php @@ -120,9 +120,6 @@ class AccompanyingPeriodWorkEvaluationContext implements { $this->accompanyingPeriodWorkContext->buildPublicForm($builder, $template, $entity->getAccompanyingPeriodWork()); - //TODO add more choices to thirdParty form - //Question: replace the form or just add more choices to form 'thirdParty'? - $thirdParties = array_merge( array_filter($entity->getAccompanyingPeriodWork()->getThirdParties()->toArray()), array_filter([$entity->getAccompanyingPeriodWork()->getHandlingThierParty()]), @@ -134,7 +131,6 @@ class AccompanyingPeriodWorkEvaluationContext implements ) ); - dump($thirdParties); $options = $template->getOptions(); if ($options['thirdParty'] ?? false) { @@ -166,7 +162,6 @@ class AccompanyingPeriodWorkEvaluationContext implements AbstractNormalizer::GROUPS => ['docgen:read'], ] ); - dump($data); return $data; }