mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
titulaire field removed from household edit form
This commit is contained in:
parent
d2c61a26ea
commit
07f53e6758
@ -15,6 +15,7 @@ and this project adheres to
|
|||||||
* [main] address: in edit mode, select the encoded values in multiselect for address reference and city (https://gitlab.com/champs-libres/departement-de-la-vendee/chill/-/issues/316)
|
* [main] address: in edit mode, select the encoded values in multiselect for address reference and city (https://gitlab.com/champs-libres/departement-de-la-vendee/chill/-/issues/316)
|
||||||
* [person search] fix bug when using birthdate after and birthdate before
|
* [person search] fix bug when using birthdate after and birthdate before
|
||||||
* [person search] increase pertinence when lastname begins with search pattern
|
* [person search] increase pertinence when lastname begins with search pattern
|
||||||
|
* [household] field to edit wheter person is titulaire of household or not removed (https://gitlab.com/champs-libres/departement-de-la-vendee/chill/-/issues/322)
|
||||||
* [activity] create work if a work with same social action is not associated to the activity
|
* [activity] create work if a work with same social action is not associated to the activity
|
||||||
* [visgraph] improve and fix bugs on vis-network relationship graph
|
* [visgraph] improve and fix bugs on vis-network relationship graph
|
||||||
* [bugfix] posting of birth- and deathdate through api fixed.
|
* [bugfix] posting of birth- and deathdate through api fixed.
|
||||||
|
@ -14,7 +14,6 @@ namespace Chill\PersonBundle\Form;
|
|||||||
use Chill\MainBundle\Form\Type\ChillDateType;
|
use Chill\MainBundle\Form\Type\ChillDateType;
|
||||||
use Chill\MainBundle\Form\Type\ChillTextareaType;
|
use Chill\MainBundle\Form\Type\ChillTextareaType;
|
||||||
use Symfony\Component\Form\AbstractType;
|
use Symfony\Component\Form\AbstractType;
|
||||||
use Symfony\Component\Form\Extension\Core\Type\ChoiceType;
|
|
||||||
use Symfony\Component\Form\FormBuilderInterface;
|
use Symfony\Component\Form\FormBuilderInterface;
|
||||||
|
|
||||||
class HouseholdMemberType extends AbstractType
|
class HouseholdMemberType extends AbstractType
|
||||||
@ -26,17 +25,6 @@ class HouseholdMemberType extends AbstractType
|
|||||||
'label' => 'household.Start date',
|
'label' => 'household.Start date',
|
||||||
'input' => 'datetime_immutable',
|
'input' => 'datetime_immutable',
|
||||||
]);
|
]);
|
||||||
|
|
||||||
if ($options['data']->getPosition()->isAllowHolder()) {
|
|
||||||
$builder
|
|
||||||
->add('holder', ChoiceType::class, [
|
|
||||||
'label' => 'household.holder',
|
|
||||||
'choices' => [
|
|
||||||
'household.is holder' => true,
|
|
||||||
'household.is not holder' => false,
|
|
||||||
],
|
|
||||||
]);
|
|
||||||
}
|
|
||||||
$builder
|
$builder
|
||||||
->add('comment', ChillTextareaType::class, [
|
->add('comment', ChillTextareaType::class, [
|
||||||
'label' => 'household.Comment',
|
'label' => 'household.Comment',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user