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)
committerBill Erickson <berick@esilibrary.com>
Tue, 3 Jun 2014 15:08:46 +0000 (11:08 -0400)
commit7ef7754d8498f7d6623c7797d210639b3006798f
treed279a3901de677d27b9645a63612bde91cc06f8a
parente360f647947f36a4626fffe51630d6d7c31fe8e4
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>
Open-ILS/src/templates/acq/common/li_table.tt2
Open-ILS/web/js/ui/default/acq/common/li_table.js