Capacities and occupancies for service and program occurrences#117
Open
Capacities and occupancies for service and program occurrences#117
Conversation
2603de9 to
92e6d45
Compare
htysc
commented
Mar 2, 2024
Collaborator
Author
|
@Damon-D-Ma The occupancy code requires a waitlist with a queue that has three methods like these:
So the serviceWaitlist will need to have a queue of serviceRegistrations instead of clients. There are four TODOs relating to waitlists in |
Waitlist functions now use a list (queue) of waitslistEntries with a serviceRegistration instead of a client. The ID of the serviceOccurrence is passed in instead of its corresponding waitlist's ID.
htysc
commented
Mar 12, 2024
For some reason these files didn't want to push.
Nearly identical to that of "serviceWaitlist", however it stores a programOccurrence instead of a serviceOccurrence, and a list of "programWaitlistEntry" instead of a "waitlistEntry". There are two different classes of models for program and service waitlists because it would not make sense to give both a program AND service occurrence to the same model and have one of these values be blank/null depending on which of the two is using it.
Collaborator
Author
|
@LesterLyu The part relating to service occurrences is complete and partially tested. |
Collaborator
Author
|
Ready to be reviewed |
LesterLyu
added a commit
that referenced
this pull request
Jul 29, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.