Prevent Double Date Time Reservation

Another example app has joint PSABH Series.

In this example, a user want to reserve/book a rental item between 9:00 to 12:00, and successfully done that, but when another attempt to book between 10:00 to 11:00, they can’t book that, because the date and time are overlapped from previous booking.

And, when they change to other times, such as 13:00 to 16:00, booking is accepted.

compressed 2022-05-11 at 2.57.17 PM (1)

This app can be extended to have more features, but to keep it simple for learning purpose, only core feature is implemented, which is prevention of conflicting reservation.

2 Likes

These are great! Keep it up :muscle::muscle::muscle:

1 Like

How does this app check to see if the reservation between start time & end time is available?

1 Like

Hi @JohnP ,

It compares time which is a number.

Search old posts from Karimoo, it explains everything.

Hi Yongki, can you please enable clone on this one? Thank you in advance!

Hi @Helpingclients ,

This is example app for showcasing, not public cloneable.

Looking for a way to block the selection of certain dates as well. Can’t seem to find the step by step. Possible to advice next steps? Thanks in advance!

Hi,

I can only find this,
prevent double reservation (adalo.com)

Please let me know if you need further assistance.