mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
Household edit: end date field deleted
This commit is contained in:
parent
21e419b338
commit
e4f8ada236
@ -25,6 +25,7 @@ and this project adheres to
|
||||
* [person] show current address in search results
|
||||
* [person] show alt names in search results
|
||||
* [admin]: links to activity admin section added again.
|
||||
* [household]: endDate field deleted from household edit form.
|
||||
* [household]: View accompanying periods of current and old household members.
|
||||
* [tasks]: different layout for task list / my tasks, and fix link to tasks in alert or in warning
|
||||
* [admin]: links to activity admin section added again.
|
||||
|
@ -16,13 +16,7 @@ class HouseholdMemberType extends AbstractType
|
||||
->add('startDate', ChillDateType::class, [
|
||||
'label' => 'household.Start date',
|
||||
'input' => 'datetime_immutable',
|
||||
])
|
||||
->add('endDate', ChillDateType::class, [
|
||||
'label' => 'household.End date',
|
||||
'input' => 'datetime_immutable',
|
||||
'required' => false
|
||||
])
|
||||
;
|
||||
]);
|
||||
if ($options['data']->getPosition()->isAllowHolder()) {
|
||||
$builder
|
||||
->add('holder', ChoiceType::class, [
|
||||
|
@ -193,8 +193,6 @@ class HouseholdMemberControllerTest extends WebTestCase
|
||||
|
||||
$form = $crawler->selectButton('Enregistrer')
|
||||
->form();
|
||||
$form['household_member[endDate]'] = (new \DateTime('tomorrow'))
|
||||
->format('Y-m-d');
|
||||
|
||||
$crawler = $client->submit($form);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user