LP#1115599 Allow cancelled lineitems to be received and invoiced
authorKathy Lussier <klussier@masslnc.org>
Wed, 29 Jan 2014 22:07:29 +0000 (17:07 -0500)
committerKathy Lussier <klussier@masslnc.org>
Tue, 8 Apr 2014 18:57:27 +0000 (14:57 -0400)
Acquisitions staff need to be able to receive and invoice cancelled items,
particularly when those items are backordered. This branch restores the
ability to perform these actions on cancelled lineitems from the PO
screen.

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

index b462eed..2263534 100644 (file)
@@ -52,8 +52,7 @@ var fundStyles = {
  * Is this all of 'em?
  */
 var li_pre_po_states = ["new", "selector-ready", "order-ready", "approved"];
-var li_post_po_states = ["pending-order", "on-order", "received"];
-// i.e. not-canceled ("cancelled") lineitems
+var li_post_po_states = ["pending-order", "on-order", "received", "cancelled"];
 var li_active_states = li_pre_po_states.concat(li_post_po_states);
 
 function AcqLiTable() {