Acq: optionally mark POs as prepayment_required; show/confirm it where needed
authorsenator <senator@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 23 Mar 2010 16:00:26 +0000 (16:00 +0000)
committersenator <senator@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 23 Mar 2010 16:00:26 +0000 (16:00 +0000)
commitc777dba27db0208ba30a6095d6a6d53ff5b06a58
tree15801a3e9966ab6a3c7bd91dec7462eeeae0e432
parentd3c925f4561cadc3b7cb26b6cdce850d115e492f
Acq: optionally mark POs as prepayment_required; show/confirm it where needed

The PO creation dialog box now has a checkbox for "prepayment required." This
will be checked or unchecked automatically when choosing a vendor from the
above dropdown based on whether that vendor's "prepayment required" value is
true.  The user can override the default value for a vendor, but will face a
confirmation dialog about it.

The PO viewing interface shows whether or not a PO is marked "prepayment
required," and if it is, when the user wishes to activate the PO, there will
be another confirmation dialog reminding the user to deal with payment.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@15937 dcc99617-32d9-48b4-a31d-7c20da2025e4
Open-ILS/src/perlmods/OpenILS/Application/Acq/Order.pm
Open-ILS/web/css/skin/default/acq.css
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
Open-ILS/web/templates/default/acq/po/view.tt2