Control PO activation for zero-copy lineitems
authorBill Erickson <berick@esilibrary.com>
Tue, 10 Jul 2012 15:56:05 +0000 (11:56 -0400)
committerBill Erickson <berick@esilibrary.com>
Wed, 11 Jul 2012 13:23:16 +0000 (09:23 -0400)
commit579319090c39f16057090ed30204f1fe2d481069
tree3ae09d8ffaf75fb9ce8358d3f02966605e2a5f10
parenta8338b6194cd5bded07210316ff9376a7865f5e0
Control PO activation for zero-copy lineitems

By default, prevent activation of POs when any lineitems are present
that have no copies attached.  This adds a new option in the PO UI
called "Allow activation with zero-copy lineitems", which will allow the
activation to continue even when zero-copy lineitems exist.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Order.pm
Open-ILS/src/templates/acq/po/view.tt2
Open-ILS/web/js/ui/default/acq/po/view_po.js