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

FEATURE: Booking Waitlist #10

Open
ohbus opened this issue Nov 2, 2022 · 0 comments
Open

FEATURE: Booking Waitlist #10

ohbus opened this issue Nov 2, 2022 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@ohbus
Copy link
Owner

ohbus commented Nov 2, 2022

Users should be able to waitlist their own lunch bookings.

Constraints:

  • Users should not have opted-in for a meal on that particular day.
  • Users can only waitlist today's day of booking for only a particular meal option.

Task:

  • Method should be asynchronous
  • Create a table extending the Base Entity
  • Fields should be
    • timestamp DateTime
    • user_id (FK 🔑 ) - User Metadata NON_NULL
    • meal_option_id (FK 🔑 ) - Meal Options NON_NULL
    • booking_provided (FK 🔑 ) - Bookings
  • Extend cancel booking to check the waitlist and assign before creating an available booking for a meal option.
  • Send mail with Booking Confirmation and QR Code to the beneficiary user.
  • Create a REST endpoint for Making a Waitlist /booking/waitlist/{meal_option_id} POST request.
@ohbus ohbus added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers labels Nov 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant