LP#1440114 Direct charge blanket orders
authorBill Erickson <berickxx@gmail.com>
Tue, 7 Apr 2015 19:47:10 +0000 (15:47 -0400)
committerBill Erickson <berickxx@gmail.com>
Thu, 21 Mar 2019 19:46:23 +0000 (15:46 -0400)
commit5c0a56926ff45a756db3d332fcf76ecf1cffa359
tree0197d040091377466dc89ec02dd8e9774d4d45aa
parentc61e8b4b5ef7067d660e8caab0a6d39847fa5646
LP#1440114 Direct charge blanket orders

Support "blanket" (long-lived, multi-invoice) orders via a new "blanket"
boolean on invoice item types.  Blanket charges can be invoiced multiple
times by creating a new fund_debit for each invoice item linked to a
blanket po_item.

This change also adds the amounts paid over time for blanket charges to
the Amount Paid summary information for purchase orders containing the
charges.

Adds a new Invoice Item Type of "Blanket Order".

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Conflicts:
Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Invoice.pm
Open-ILS/src/sql/Pg/upgrade/XXXX.schema.acq_blanket_orders.sql [new file with mode: 0644]
Open-ILS/src/sql/Pg/upgrade/YYYY.data.acq_blanket_order.sql [new file with mode: 0644]