Commit 043ff4d0 by Damien Moulard

update display in adherent admin edit page

parent 1ac124f2
......@@ -171,10 +171,10 @@ class AdherentAdmin extends AbstractAdmin
if ($this->getConfigurationPool()->getContainer()->getParameter('tav_env')) {
$formMapper
->tab('General')
->with('Profil de cotisation', ['class' => 'col-md-5'])
->with('Informations de cotisation', ['class' => 'col-md-5'])
->add('profilDeCotisation', ChoiceType::class, [
'required' => false,
'label' => 'Choix du profil : ',
'label' => 'Choix du profil de cotisation : ',
'choices' => $this->getConfigurationPool()->getContainer()->get('doctrine')->getRepository(ProfilDeCotisation::class)->findAll(),
'empty_data' => null,
'choice_label' => function ($choice, $key, $value) {
......@@ -194,11 +194,13 @@ class AdherentAdmin extends AbstractAdmin
$mlc = $em->getRepository(GlobalParameter::class)->val(GlobalParameter::MLC_SYMBOL);
$formMapper
->tab('General')
->with('Solde', ['class' => 'col-md-12'])
->with('Informations de cotisation')
->add('idmlc', TextType::class, [
'disabled' => true,
'required' => false,
'label' => 'Solde e-' . $mlc . ' :',
'data' => $balance . ' ' . $mlc])
'data' => $balance . ' ' . $mlc
])
->end()
->end();
}
......
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