Commit ff060adc by Damien Moulard

add cotisation reminder in adherent admin page in simplified household mode

parent 0ce5691f
......@@ -340,6 +340,34 @@ class AdherentAdmin extends AbstractAdmin
])
->end()
->end();
if ($simplified_household_based_allowance) {
$formMapper
->tab('General')
->with('Informations de cotisation', [
'class' => 'col-md-5',
'description' => $cotisSectionInfo
])
->add('mailRappelCotisation', CheckboxType::class, [
'required' => false,
'label' => 'Recevoir un rappel du paiement de ma cotisation par mail',
'attr' => [
'autocomplete' => 'off'
]
])
->add('jourMailRappelCotisation', ChoiceType::class, [
'required' => false,
'label' => 'Jour de l\'envoi du mail de rappel :',
'choices' => $this->daysOfMonth(),
'empty_data' => null,
'placeholder' => 'Choisir un jour pour l\'envoi du mail de rappel',
'attr' => [
'autocomplete' => 'off'
]
])
->end()
->end();
}
} else {
// For Comptoir role in edit mode, hide profile choice
$displayProfilChoice = !($isComptoirOnly && $this->isCurrentRoute('edit'));
......
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