]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#1234220 Improve hold/copy ratio renewal messages
authorBill Erickson <berickxx@gmail.com>
Fri, 6 Mar 2015 16:04:01 +0000 (11:04 -0500)
committerBill Erickson <berickxx@gmail.com>
Fri, 13 Mar 2015 21:33:33 +0000 (17:33 -0400)
commit25b61e8ead25088b8844978054e6ba75c8608dc8
treee90f41e4c11a7ae41ea360ad3990da007315e238
parent2ed6cb0a76bd9df156e7f1350af95167f0dbbe24
LP#1234220 Improve hold/copy ratio renewal messages

Display friendlier messages in the TPAC and staff client client when a
hold/copy ratio rule prevents a renewal.

This creates top-level ILS events for total/avail hold copy ratios,
since that's what best works with the staff client.  The TPAC displays a
simple "item is needed for a hold" message, whereas the staff client
displays the raw event description, which is slightly more descriptive.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Open-ILS/src/extras/ils_events.xml
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm
Open-ILS/src/templates/opac/myopac/circs.tt2
Open-ILS/src/templates/opac/parts/hold_error_messages.tt2
Open-ILS/xul/staff_client/server/circ/util.js