-
Notifications
You must be signed in to change notification settings - Fork 4
[FRONTEND] Casuals can’t book #862
Copy link
Copy link
Labels
backendrelating to code in the /server directoryrelating to code in the /server directorybugSomething isn't workingSomething isn't workingfrontendrelating to code in the /client directoryrelating to code in the /client directory
Metadata
Metadata
Assignees
Labels
backendrelating to code in the /server directoryrelating to code in the /server directorybugSomething isn't workingSomething isn't workingfrontendrelating to code in the /client directoryrelating to code in the /client directory
Is your feature request related to a problem? Please describe.
I had noted that casuals can go to -1 game seasons although missed it during review. Need to temporarily fix this so that casuals can book.
Even better would be to properly handle this with different logic.
Describe the solution you'd like
Supposedly we want to maybe remove the frontend limitations of checking user sessions and completely voiding session counts for casuals (booking doesn't affect the casuals booking credit) but instead the backend checks for all bookings made by the casual in the current weeks duration (Monday - Sunday) and determines if the user can book or not based on that.
Additional context
Steps to reproduce:
/book(accessible via navbar)You're then immediately greeted with the following:
BEFORE MERGING
git fetch origin master:master, thengit rebase masterorgit merge master)