LP#1058321: Acq: Possible to receive a pending purchase order user/mcooper/lp1058321
authorMark Cooper <markchristophercooper@gmail.com>
Wed, 24 Oct 2012 05:02:38 +0000 (22:02 -0700)
committerMark Cooper <markchristophercooper@gmail.com>
Wed, 24 Oct 2012 05:30:24 +0000 (22:30 -0700)
commitfaa0cb241ffd2ffc0b0098679bb5ef5158911219
tree9d63c1331b26d72b2b1b33551916c8b7ae41c8a8
parentee466dbfc1785692b2d0dee1fe3fdcbcc3fd2502
LP#1058321: Acq: Possible to receive a pending purchase order

Revised to allow a cancelled PO to be received, as this is needed under
certain conditions (note - bib/items are not restored in this case).
Added po_state variable to avoid repeated PO.state() function invocations.

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