Hotel booking - dates x rooms collections

hello everyone!

I am trying to build a hotel booking app.

The user would choose Start Date and End Date, and then as many rooms as he wants.

After confirming, no one else can book the selected rooms on the selected dates.

I just can’t figure out a way to:

1- convert the start and end dates into a database that crosses rooms and dates
2- “block” reservations on rooms already booked on those dates.

I’m having a really hard time working with those 2 variables at the same time.

Any help is appreciated!

Thanks!!!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.