Hi all, could you help me to solve this,
I have created an event booking app, in this when I booked a time slot it saves to a collection, it perfectly works but when I try to book a third time it only checks the last time slot, and it is not allowed to save new booking. As I think it's only checked with the last item in the SharePoint. To better understand I will explain by the example below.
01 time ---> Start time as an 8.00 AM and End time as a 10.00 AM
02 time---->Start time as a 2.00 PM and End time as a 3.00 PM
in this we can see there is a free time slot between 10.00 AM to 2.00 PM. So I want to book this free time slot (Ex:10.30AM-12.30 PM), but I couldn't do this. However, I can book for reset hours from 3.00 PM.