At channelAustin (www.channelaustin.org), we have a policy in place stating that a producer cannot make a reservation for equipment more than 21 days in advance of the intended reservation date. So the request is to add a feature to MERCI to enable administrators to place limits of how far in advance a reservation can be made.
Comments
Comment #1
civicpixel commentedJQuery's UI Date Picker has a limitation option...
http://jqueryui.com/demos/datepicker/#min-max
I think the easiest way to do this is going to be to add the limit as a variable to MERCI and then add that when the calendar is loaded.
This is just a quick first step because a savvy user could disable javascript and enter the date by hand to bypass the restriction. That probably wouldn't happen in Austin, but it would definitely happen in the university environments I've worked in. Eventually, the validation need to be added to the module as well.
Comment #2
kreynen commentedlatest commit to CVS resolves this