Commit 5ebef175 by Julien Jorry

Fix cotisation price disabled on adherer page

parent a57bd0d8
...@@ -37,6 +37,7 @@ class AddCotisationFormType extends AbstractType ...@@ -37,6 +37,7 @@ class AddCotisationFormType extends AbstractType
)) ))
->add('montant', IntegerType::class, array( ->add('montant', IntegerType::class, array(
'data' => intval($this->em->getRepository(GlobalParameter::class)->val(GlobalParameter::COTISATION_ADHERENT)), 'data' => intval($this->em->getRepository(GlobalParameter::class)->val(GlobalParameter::COTISATION_ADHERENT)),
'disabled' => true,
'constraints' => [ 'constraints' => [
new NotBlank() new NotBlank()
], ],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment