Merge branch 'master' into 111_exports_suite

This commit is contained in:
2022-09-20 16:37:33 +02:00
34 changed files with 1423 additions and 46 deletions

View File

@@ -16,6 +16,7 @@ use Chill\MainBundle\Form\Type\TranslatableStringFormType;
use Chill\MainBundle\Templating\TranslatableStringHelper;
use Chill\PersonBundle\Entity\SocialWork\Evaluation;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\Extension\Core\Type\UrlType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolver;
@@ -40,6 +41,10 @@ class EvaluationType extends AbstractType
->add('title', TranslatableStringFormType::class, [
'label' => 'Nom',
])
->add('url', UrlType::class, [
'label' => 'evaluation.url',
'required' => false,
])
->add('delay', DateIntervalType::class, [
'label' => 'evaluation.delay',
'required' => false,