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
382 stars 225 forks source link

No way to limiting-the-number-of-resources-per-reservation #394

Open ieovigo opened 1 month ago

ieovigo commented 1 month ago

Hello,

In the documentation there is the posibility of limit to one resource reservation per reservation, I want that because my users are not smart and reserves two or more resources without known it.

I haven't found where to change it on the config.php

https://github.com/LibreBooking/app/wiki/Administration#limiting-the-number-of-resources-per-reservation

Thanks

JohnVillalovos commented 1 month ago

As an administrator you can look under "Application Management" -> Schedules.

There is an a setting for: There is no limit to the number of resources per reservation

Which can be edited to change it.

ieovigo commented 1 month ago

Hello,

It doesn't work, I have set up to 1

imagen

And It still let me book 2 or more resources on the same reservation

where could the error be?

treborin commented 1 month ago

Hi @ieovigo ,

Are you using a normal user account for that? cause if you try it with an admin account you can do everything with no limits

ieovigo commented 1 month ago

Hi @treborin ,

I`m using admin account.

When I create a reservation, it lets me select several resources at the same time and when I press the button to create, it allows me to do and it is created.

Thanks

treborin commented 1 month ago

Ok. So you need a normal user account. Create one and login as user (not admin), and check. It should be ok that way.

ieovigo commented 1 month ago

Thank you very much for the help and your time.

I have tried it from a normal user account and it partially works. You can only reserve one resource at a time, but you cannot choose the resource.

For example, if I am in calendar view and click new reservation, a resource is automatically selected and I cannot change it to another.

I can only select the resource from the board and clicking reserve but not in calendar view