Koha/koha-tmpl/opac-tmpl/bootstrap
Owen Leonard 3d022dc20e Bug 22537: Suspend all hold button appears even if the hold can no longer be suspended.
This patch adds to the user summary page in the OPAC a check for waiting
or in-transit holds. If all holds are waiting or in transit the "Suspend
all" controls will be hidden.

This patch also adds a missing $KohaDates filter to the "suspended
until" date.

To test, apply the patch and log in to the OPAC as a patron with holds.
Test these conditions:

 - All holds are waiting and/or in transit
   - The "Suspend holds" controls at the bottom of the page should not
     appear.
 - Some holds are waiting and/or in transit
   - The "Suspend holds" controls should appear.

Signed-off-by: Marjorie <marjorie.barry-vila@collecto.ca>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
2019-04-29 11:33:38 +00:00
..
css Bug 22274: Compiled CSS 2019-04-17 10:31:03 +00:00
en Bug 22537: Suspend all hold button appears even if the hold can no longer be suspended. 2019-04-29 11:33:38 +00:00
images Bug 22568: Replace RSS icon in the OPAC with Font Awesome 2019-03-23 09:40:29 +00:00
itemtypeimg
js Bug 21870: Convert browser alerts to modals: OPAC user summary 2019-02-26 14:36:17 +00:00
lib Bug 10659: Upgrade jQuery star ratings plugin 2019-02-15 18:42:46 +00:00