Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shift : cleanup du nom des formulaires #711

Merged
merged 2 commits into from
Jan 24, 2023
Merged

Conversation

raphodn
Copy link
Member

@raphodn raphodn commented Jan 22, 2023

dans BookingController & ShiftController

  • créer des fonction create pour les formulaires qui n'en avaient pas
  • homogénéiser (et expliciter) le nommage des formulaires

@raphodn raphodn self-assigned this Jan 22, 2023
@raphodn raphodn requested a review from petitalb January 22, 2023 21:10
'data' => ($shift->getWasCarriedOut() ? 0 : 1),
])
->setMethod('POST')
->getForm();
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ne peut-on pas profiter de ce refactoring pour déplacer les méthodes createXXX dupliquées dans plusieurs entités, dans des services ? cf. https://github.com/elefan-grenoble/gestion-compte/blob/master/src/AppBundle/Service/SearchUserFormHelper.php

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes c'est dans ma todo :)
(mais dans une prochaine PR, et peut-être décider avant si on merge shift_dismiss avec shift_free ?)

@raphodn raphodn merged commit 5936614 into master Jan 24, 2023
@raphodn raphodn deleted the raphodn/log-free-shift-2 branch January 24, 2023 08:58
quot17 pushed a commit to quot17/gestion-compte that referenced this pull request Mar 28, 2023
* Cleanup shift form names

* Edit redirection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants