LP#1234220 Improve hold/copy ratio renewal messages
authorBill Erickson <berickxx@gmail.com>
Fri, 6 Mar 2015 16:04:01 +0000 (11:04 -0500)
committerKathy Lussier <klussier@masslnc.org>
Fri, 6 Mar 2015 20:06:31 +0000 (15:06 -0500)
commitb93bb123a2e9f74d37578f57a6b8c340e1debb9b
tree68707d83a4b8358a37317a28b4f86eb1d2f65ae5
parent23efe68b9afc4eafce0eda71c6038e192bba0f5a
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