Commit 22cc7353 by Julien Jorry

Fix bug adherent admin

parent 705bb256
......@@ -116,8 +116,9 @@ class AdherentAdmin extends AbstractAdmin
->add('user.cotisations.first.montant', TextType::class, array('label' => 'Montant'))
->add('user.cotisations.first.moyen', ChoiceType::class, array(
'required' => true,
'label' => 'Moyen :',
'choices' => MoyenEnum::getAvailableTypes(),
'choices_as_values' => true,
// 'choices_as_values' => true,
'choice_label' => function ($choice) {
return MoyenEnum::getTypeName($choice);
},
......
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