LP#1058321: Possible to receive a pending purchase order
authorMark Cooper <markchristophercooper@gmail.com>
Tue, 16 Oct 2012 01:03:44 +0000 (18:03 -0700)
committerMark Cooper <markchristophercooper@gmail.com>
Wed, 24 Oct 2012 05:30:23 +0000 (22:30 -0700)
commitee466dbfc1785692b2d0dee1fe3fdcbcc3fd2502
treea68900248b7b878596f40bf3e79e30e39674813a
parent81f20bb285bdda845cf7ad4b54e974b85d33c8bb
LP#1058321: Possible to receive a pending purchase order

Restrict 'Mark purchase order as received' to on-order state
purchase orders, and 'Un-Receive Purchase Order' to 'received'
POs. Otherwise inconsistencies easily occur ...

Signed-off-by: Mark Cooper <markchristophercooper@gmail.com>
Open-ILS/src/templates/acq/common/li_table.tt2
Open-ILS/web/js/ui/default/acq/po/view_po.js