Acq: Towards slick integration of granular un-receive in the PO interface.
authorsenator <senator@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 19 Feb 2010 00:41:38 +0000 (00:41 +0000)
committersenator <senator@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 19 Feb 2010 00:41:38 +0000 (00:41 +0000)
commitc83b04e310677502b27c4e95b22fc588acb88d51
tree0405f3a14eda0b29703174c4e713ce6a4af43f27
parent38cadc0d4a670b73ae8f1fca6ef0c06d19d7b63d
Acq: Towards slick integration of granular un-receive in the PO interface.

This adds good UI support for lineitem unreceive.  The bulk of this commit,
however, is in middle-layer rearrangements to make it easier to keep track
of changing lineitems and the POs that they belong to in a long-lived client
side interface.  In other words, when you receive an LI in a PO, the LI table
doesn't only hide the receive button, but keeps track of the LI's state
(received or something else) and shows you the proper controls in any case.
Same for unreceive.

Similar thing coming very soon for lineitem details (copies).

git-svn-id: svn://svn.open-ils.org/ILS/trunk@15593 dcc99617-32d9-48b4-a31d-7c20da2025e4
Open-ILS/src/perlmods/OpenILS/Application/Acq/Order.pm
Open-ILS/web/js/dojo/openils/Util.js
Open-ILS/web/js/dojo/openils/acq/nls/acq.js
Open-ILS/web/js/ui/default/acq/common/li_table.js
Open-ILS/web/js/ui/default/acq/po/view_po.js
Open-ILS/web/templates/default/acq/common/li_table.tt2