ACQ: allow recv actions on copies from non-PO interface user/berick/acq-expose-more-recv-actions
authorBill Erickson <berick@esilibrary.com>
Tue, 22 Nov 2011 21:53:30 +0000 (16:53 -0500)
committerBill Erickson <berick@esilibrary.com>
Tue, 27 Dec 2011 15:00:31 +0000 (10:00 -0500)
commita7560e3ac9bb8f952e9266699ca232b76662b52e
tree7b8ad41e43c5fae8902c4c2c7910cdb4294862b3
parent748ac712e0d5f0d1c997ae5d3cfb3c59f33a5762
ACQ: allow recv actions on copies from non-PO interface

* Allow PO actions on copies, like recieve, unreceive, and cancel from
  non-PO interfaces like the picklist UI and lineitem search interfaces.
  Instead of relying on whether the user is viewing a PO, use the status
  of each copy to determine which actions are appropriate to display.

* General cleanup and better arrangment of the copy actions hide/display
  logic

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