Bug 33187: Use template wrapper for tabs article requests and holds awaiting pickup...
authorOwen Leonard <oleonard@myacpl.org>
Thu, 9 Mar 2023 19:28:47 +0000 (19:28 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 14 Apr 2023 18:39:40 +0000 (15:39 -0300)
commit8a4e971ad311662033ba7386bc0048040b4db26a
tree50c5fbdeec0feb0fb4543e52478897a9ac23a499
parent99db0a904d32bb0a6acea6b214f7050184d94e06
Bug 33187: Use template wrapper for tabs article requests and holds awaiting pickup pages

This patch updates the article requests management and holds awaiting
pickup templates in the staff interface so that they use the new WRAPPER
directive for building tabs.

To test, apply the patch and make sure the ArticleRequests system
preference is enabled.

- Go to Circulation -> Article requests
- You should see three tabs, "New," "Pending," and "Processing."
- The tabs should look correct and work correctly.
- Go to Circulation -> Holds awaiting pickup
- You should see three tabs, "Holds waiting", "Holds waiting over X
  days," and "Holds with cancellation requests." ("X" is the value in
  the ReservesMaxPickUpDelay system preference)

Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/en/modules/circ/article-requests.tt
koha-tmpl/intranet-tmpl/prog/en/modules/circ/waitingreserves.tt