LP#1270289 Show cancel reason labels for lineitems/copies
authorBill Erickson <berick@esilibrary.com>
Tue, 3 Jun 2014 13:38:46 +0000 (09:38 -0400)
committerKathy Lussier <klussier@masslnc.org>
Fri, 1 Aug 2014 19:42:07 +0000 (15:42 -0400)
commit12a447795b6cfe6a3091939e26d7ee07a68cf255
treea6af0cd158886c9e76f3311bf2a3d048269c30bb
parent3ba8af9e740a32e4ac7986affc149e923bf1781a
LP#1270289 Show cancel reason labels for lineitems/copies

In the standard lineitem list page, display lineitem states as
translatable strings instead of displaying the raw lineitem state code.
Additionally, when the state is 'cancelled', display the cancel_reason
label instead of "cancelled" to help differentiate between canceled and
delayed items.

Similarly, display the cancel reason label for canceled copies in the
copy edit grid.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Open-ILS/src/templates/acq/common/li_table.tt2
Open-ILS/web/js/ui/default/acq/common/li_table.js