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:20:16 +0000 (17:20 -0400)
commit06a35b3ab6da447f03b790629a670e60daa3d8a2
treea35e917094aae923892fefa8542128a2bc2dab45
parente77201356efe32ffaec4db1b1be8d87fe3f90248
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