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

Période : afficher ABCD seulement si cycle_type est défini #933

Merged
merged 2 commits into from
Aug 5, 2023

Conversation

raphodn
Copy link
Member

@raphodn raphodn commented Aug 4, 2023

Quoi ?

Actuellement on considère que toutes les épiceries ont cycle_type: abcd de défini.
Or pour celles qui n'ont pas la notion de cycles, l'application affiche quand même "SEMAINE A" dans le planning.

Modifications pour prendre en compte la valeur du paramètre cycle_type dans l'affichage sur le planning (/schedule ; /booking ; /booking/admin)

Captures d'écran

Avant Après (cycle_type: null) Après (cycle_type: abcd)
image image image

@raphodn raphodn self-assigned this Aug 4, 2023
@raphodn raphodn linked an issue Aug 4, 2023 that may be closed by this pull request
* Create getDaysOfWeekArray method

* Period: hide week filters if cycle_type not defined

* Semaine type : pouvoir créer des créneaux type même si cycle_type est null (#937)

* Additional Period constants. Cleanup

* Allow to create PeriodPosition without choosing week_cycle (default to A)

* Hide 'Semaine' in Period index

* Manage ShiftGenerateCommand when cycle_type is null (#938)
@petitalb petitalb merged commit 2d01135 into master Aug 5, 2023
@petitalb petitalb deleted the raphodn/cycle-type-null branch August 5, 2023 07:50
OursDesCavernes pushed a commit to Les400Coop/gestion-compte that referenced this pull request Jan 20, 2024
…enoble#933)

* Schedule: show week cycle only if cycle_type defined

* Semaine type : cacher certains filtres si cycle_type est null (elefan-grenoble#936)

* Create getDaysOfWeekArray method

* Period: hide week filters if cycle_type not defined

* Semaine type : pouvoir créer des créneaux type même si cycle_type est null (elefan-grenoble#937)

* Additional Period constants. Cleanup

* Allow to create PeriodPosition without choosing week_cycle (default to A)

* Hide 'Semaine' in Period index

* Manage ShiftGenerateCommand when cycle_type is null (elefan-grenoble#938)
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.

Incohérence dans la gestion des créneaux (sans ABCD)
2 participants