]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#1440114 Blanket order PO "finalize"
authorBill Erickson <berickxx@gmail.com>
Fri, 10 Apr 2015 16:30:22 +0000 (12:30 -0400)
committerBill Erickson <berickxx@gmail.com>
Wed, 19 Aug 2015 16:33:28 +0000 (12:33 -0400)
commita58aeba14ecb30e36acee531efc3599648dd3d4d
tree77f2751edc71050c9f6cf5f39184f324927810c5
parent4144e25e10351cf4fd397a6dd3010b93e5d98c8d
LP#1440114 Blanket order PO "finalize"

When invoicing a PO that has at least one blanket charge, a new option is
present which allows staff to indicate that an invoice is the final invoice
for the PO.  Finalizing a PO results in the following:

1. Encumbrances for all blanket charges on the PO are dropped to $0.
   This is done by setting the amount paid in the original fund_debit
   (linked the blanket po_item) to $0.

2. If no pending lineitems exist on the PO, the PO is marked as received.
   If there are pending lineitems, the state is left untouched.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Invoice.pm
Open-ILS/src/templates/acq/invoice/view.tt2
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/invoice/view.js