Merge branch 'issue320_bug_redirect_createPeriod' into 'master'

Issue320 bug redirect create period

See merge request Chill-Projet/chill-bundles!249
This commit is contained in:
Julien Fastré 2021-12-12 14:12:44 +00:00
commit 133ac67794
6 changed files with 9 additions and 13 deletions

View File

@ -13,6 +13,7 @@ and this project adheres to
<!-- write down unreleased development here --> <!-- write down unreleased development here -->
* [person] add validator for accompanying period with a test on social issues (https://gitlab.com/champs-libres/departement-de-la-vendee/accent-suivi-developpement/-/issues/76) * [person] add validator for accompanying period with a test on social issues (https://gitlab.com/champs-libres/departement-de-la-vendee/accent-suivi-developpement/-/issues/76)
* [activity] fix visibility for location * [activity] fix visibility for location
* [person] redirect bug fixed.
* [action] add an unrelated issue within action creation. * [action] add an unrelated issue within action creation.
* [origin] fix origin: use correctly the translatable strings * [origin] fix origin: use correctly the translatable strings
* /!\ everyone must update the origin table. As there is only one row, execute `update chill_person_accompanying_period_origin set label = jsonb_build_object('fr', 'appel téléphonique');` * /!\ everyone must update the origin table. As there is only one row, execute `update chill_person_accompanying_period_origin set label = jsonb_build_object('fr', 'appel téléphonique');`

View File

@ -186,7 +186,7 @@ class User implements AdvancedUserInterface
/** /**
* @return string * @return string
*/ */
public function getEmail() public function getEmail(): ?string
{ {
return $this->email; return $this->email;
} }

View File

@ -222,9 +222,7 @@ final class PersonController extends AbstractController
'label' => 'Add the person', 'label' => 'Add the person',
])->add('createPeriod', SubmitType::class, [ ])->add('createPeriod', SubmitType::class, [
'label' => 'Add the person and create an accompanying period', 'label' => 'Add the person and create an accompanying period',
])->add('createHousehold', SubmitType::class, [ ]);
'label' => 'Add the person and create an household',
]); // TODO createHousehold form action
$form->handleRequest($request); $form->handleRequest($request);

View File

@ -93,9 +93,6 @@
<li> <li>
{{ form_widget(form.createPeriod, { 'attr': { 'class': 'dropdown-item' }}) }} {{ form_widget(form.createPeriod, { 'attr': { 'class': 'dropdown-item' }}) }}
</li> </li>
<li>
{{ form_widget(form.createHousehold, { 'attr': { 'class': 'dropdown-item' }}) }}
</li>
</ul> </ul>
</li> </li>
</ul> </ul>
@ -106,5 +103,5 @@
{% endblock content %} {% endblock content %}
{% block js %} {% block js %}
{{ encore_entry_script_tags('mod_disablebuttons') }} {# {{ encore_entry_script_tags('mod_disablebuttons') }} #}
{% endblock js %} {% endblock js %}

View File

@ -124,8 +124,8 @@ address_country_code: Code pays
'Alreay existing person': 'Dossiers déjà encodés' 'Alreay existing person': 'Dossiers déjà encodés'
'Add the person': 'Ajouter la personne' 'Add the person': 'Ajouter la personne'
'Add the person and create an accompanying period': "Créer la personne ET créer une période d'accompagnement" 'Add the person and create an accompanying period': "Créer la personne & créer une période d'accompagnement"
'Add the person and create an household': "Créer la personne ET créer un ménage" 'Add the person and create an household': "Créer la personne & créer un ménage"
Show person: Voir le dossier de la personne Show person: Voir le dossier de la personne
'Confirm the creation': 'Confirmer la création' 'Confirm the creation': 'Confirmer la création'
'You will create this person': 'Vous allez créer le dossier suivant' 'You will create this person': 'Vous allez créer le dossier suivant'

@ -1 +1 @@
Subproject commit bd95d3c96a437757b7e8f35cdfd30da9aeac1a01 Subproject commit 5952eda44831896991989c2e4881adc26329140e