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)
committerBen Shum <bshum@biblio.org>
Thu, 7 Aug 2014 21:06:41 +0000 (17:06 -0400)
commitfd5c1c72290429f7a16f5b10c1417b87c2dc9449
tree8d4c4f3c489513099815b87cc565b41a45e645f9
parent93be423815b0ee8c4aa0946c38bb877ffbfd5195
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>
Signed-off-by: Ben Shum <bshum@biblio.org>
Open-ILS/src/templates/acq/common/li_table.tt2
Open-ILS/web/js/ui/default/acq/common/li_table.js