Rooms and Resources allow you to allocate a specific room or resource to a booking. This helps to ensure rooms, or resources such as foot spas, laser machines, etc are not over booked despite having available staff.
When a room or resource is allocated to a booking (in house, or automatically online), we check for capacity before the booking is allowed to continue.
We do this by checking the capacity set for the room or resource, and the number of appointments using the room or resource during the time of the booking.
Example: You have 5 Foot Spas that can be used for Pedicures.
You have 5 bookings, all using the foot spa at the following times:
10:00am - 11:00am (Client 1)
10:15am - 11:15am (Client 2)
10:15am - 11:00am (Client 3)
10:30am - 11:30am (Client 4)
10:30am - 11:00am (Client 5)
Now, if you wanted to book a new client for a Pedicure, using the Foot Spa at 10:00am - 10:45am, you would receive an error and not be able to book because the time requested overlaps with 5 bookings, which is the maximum capacity for the resource.
There is one exception to the above, and that is for clients who have consecutive bookings using the same resource. For example:
10:00am - 11:00am (Client 1)
11:00am - 11:30am (Client 1)
10:15am - 11:00am (Client 2)
10:30am - 11:30am (Client 3)
10:30am - 11:00am (Client 4)
In the example above, Client 1 has 2 appointments using the same resource, but they are directly after each other. This implies that the client will be using 1 resource from 10:00am until 11:30am. In this case, the booking would be allowed because we would see the current usage at 4, with a maximum capacity of 5.
