Merge branch 'master' of gitlab.com:Chill-Projet/chill-bundles

This commit is contained in:
2022-02-18 14:46:55 +01:00
44 changed files with 539 additions and 213 deletions

View File

@@ -25,6 +25,13 @@ class HouseholdMemberType extends AbstractType
'label' => 'household.Start date',
'input' => 'datetime_immutable',
]);
if (!$options['data']->getPosition()->getShareHousehold()) {
$builder->add('endDate', ChillDateType::class, [
'label' => 'household.End date',
'input' => 'datetime_immutable',
]);
}
$builder
->add('comment', ChillTextareaType::class, [
'label' => 'household.Comment',