mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-07-05 08:26:13 +00:00
Adding AccompanyingPeriodWorkEvaluation in the choices of DocGenerator config form (admin)
This commit is contained in:
parent
a3333c3302
commit
1bf595334e
@ -18,6 +18,7 @@ use Symfony\Component\Form\Extension\Core\Type\ChoiceType;
|
|||||||
use Symfony\Component\Form\FormBuilderInterface;
|
use Symfony\Component\Form\FormBuilderInterface;
|
||||||
use Symfony\Component\OptionsResolver\OptionsResolver;
|
use Symfony\Component\OptionsResolver\OptionsResolver;
|
||||||
use Chill\DocStoreBundle\Form\StoredObjectType;
|
use Chill\DocStoreBundle\Form\StoredObjectType;
|
||||||
|
use Chill\PersonBundle\Entity\AccompanyingPeriod\AccompanyingPeriodWorkEvaluation;
|
||||||
|
|
||||||
class DocGeneratorTemplateType extends AbstractType
|
class DocGeneratorTemplateType extends AbstractType
|
||||||
{
|
{
|
||||||
@ -32,7 +33,8 @@ class DocGeneratorTemplateType extends AbstractType
|
|||||||
'multiple' => true,
|
'multiple' => true,
|
||||||
'choices' => [
|
'choices' => [
|
||||||
'AccompanyingPeriod' => 'Chill\PersonBundle\Entity\AccompanyingPeriod',
|
'AccompanyingPeriod' => 'Chill\PersonBundle\Entity\AccompanyingPeriod',
|
||||||
'SocialWork\SocialAction' => 'Chill\PersonBundle\Entity\SocialWork\SocialAction'
|
'SocialWork\SocialAction' => 'Chill\PersonBundle\Entity\SocialWork\SocialAction',
|
||||||
|
'AccompanyingPeriod\AccompanyingPeriodWorkEvaluation' => AccompanyingPeriodWorkEvaluation::class
|
||||||
]])
|
]])
|
||||||
->add('description')
|
->add('description')
|
||||||
->add('file', StoredObjectType::class, [
|
->add('file', StoredObjectType::class, [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user