Duplicate reservation and not scheduling an appointment

Hello, if someone could help me, that would be great! I’m stuck on something I want to do. I’m building an appointment booking app for barbers. where the client can schedule an appointment and the hairdresser goes to the client’s home. What I want to do is that at the time the barber agrees to schedule an appointment, example from 05/10/2022 at 3:00 p.m. at 4pm. and when scheduling another appointment that is at or between those times, it cannot be accepted and a notification is issued. I have already managed to add a time that the client chose plus the time that he could perform the selected services, and be able to show those hours that he has scheduled for the hairdresser in the calendar from his application. but I don’t want them to come together like in the photos. If anyone knows of a way to do this I would greatly appreciate it.
Captura de pantalla 2022-05-10 235005
I hope to see been clear with my doubt :slight_smile:

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