LibreBooking / app

Repository for the last open source version of Booked Scheduler. The "develop" branch contains the most current working code of the project and should be considered beta. The "master" branch is the most current stable release of BookedScheduler. Please read doc/README.md for further details.
GNU General Public License v3.0
387 stars 232 forks source link

Resource capacity limit doesn't work #432

Open ieovigo opened 3 days ago

ieovigo commented 3 days ago

Hi,

I have installed librebooking 2.8.6.1 on debian 12 server and we have a problem, the system does not allow us to make more than one reservation at the same time for any resource, even if we set unlimited capacity or for example 2. It shows a message indicating that there is a reservation conflict.

What could be the problem?

Thank you so much

ieovigo commented 3 days ago

Hello,

I think I already found the error. It has been a problem of interpretation of the concept of resource capacity.

We thought it was concurrent booking capability, for example, allowing 4 people to book a room at the same time, because that room has 4 computers.

I think that to control that, you have to create 4 resources, one for each computer.

it's right?

Thank you

effgarces commented 20 hours ago

Hi, exactly. In fact that was one of the things that first tripped me when I started using Booked (now Librebooking). Resource capacity here, is geared toward the capacity of a room, so by taking advantage of the fact that you can invite people to an event you can ensure that you don't exceed the capacity of the room. Besides creating 4 resources, there's also a another trick that you can do, create a single resource, that can be booked simultaneously by many then create an accessory with the total quantity of 4 and associate it with the resource, make the minimum quantity that you can reserve 1, that way, when booking you will need to add at least one of that accessory in order to progress, when all accessories are booked it will no longer be possible to book the resource.