Hello @ll Like the datatable containing pending bookings, it may be useful to add a table displaying the list of bookable items. This would take into account specific rules (lead and trail periods) and be joined with current checkouts to certify their availability.
Created attachment 194490 [details] [review] Bug 41993: Add datatable for items available for bookings Test plan: 1) Apply this patch, rebuild sources and restart_all 2) On Circulation module you will see a new links into "Holds and bookings" section, click on "Items available for bookings" 3) First of all the datatable list your bookable items but not filtered 4) On the left you have many filters for the datatable, please note that dates are modified on server side to include lead and trail periods if they exist. Sponsored by: Loire Forez Agglomération
Created attachment 194543 [details] [review] Bug 41993: Add a page to show items available for bookings Test plan: 1) Apply this patch, rebuild sources and restart_all 2) On Circulation module you will see a new links into "Holds and bookings" section, click on "Items available for bookings" 3) First of all the datatable list your bookable items but not filtered 4) On the left you have many filters for the datatable, please note that dates are modified on server side to include lead and trail periods if they exist. Sponsored by: Loire Forez Agglomération Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Created attachment 194544 [details] [review] Bug 41993: (follow-up) Tidy and other QA fixes Fixing issues raised by the QA tool
Created attachment 194545 [details] [review] Bug 41993: (follow-up) Fix markup of sidebar menu, correct Select2 style The library selection in the sidebar works better if we use Select2. I made a corresponding minor change to select2.css. This patch also restructures the in-page JavaScript so that template variables are in a separate <script> block (see Bug 41563 etc.).