Each item should have not only a maximum number of hours it can be rented, but also a minimum. Minimums should be configurable for each reservable item, and a default minimum hours for all (for example 3 hour minimum on everything, but an individual item like a camera can only be reserved for a minimum of 6 hours).
Comments
Comment #1
kreynen commentedCan you explain the logic for a min duration a bit more?
It's not that difficult technically, but I'm not willing to clutter an already complicated UI with a feature that could be configured in the Date field. merci_date is currently configured to a min of 15 minutes for performance reasons, but if 3 hours is the min you want any equipment to be reserved you can change that to be 3 hours.
Comment #2
stella commentedOur client generally only allows members to reserve equipment for one day at a time, not for any period smaller than that. Since it's not possible to do daily reservations with the current system, an interim solution would be to force the user to reserve it for X hours.
Comment #3
kreynen commentedLike I said, changing merci_date from 15 minutes to X hours is easy enough. Full days is also easy (I think). Just set the default time in merci_date to hour the checkout opens and the to time to the time it closes. We have different hours of operation on Saturday in Denver. If it that isn't the same all week, set it to the the shortest day then hide the hour and minute with a form alter (preferably) or CSS. Because users won't be able to change the hours and minutes, all reservations will block that equipment out for the entire day?
While the feature request is easy enough to accomplish, I'm still stumped on the logic behind the why? Even when I ran university checkouts where we had much more equipment per student than the public access station I've worked with, I wouldn't want students to have cameras our longer than they needed. Most public access stations struggle to get a limited amount into as many producer hands as possible.
This seems like a really odd configuration, but it can be done with just a few lines of php or css.