LP#1635354 Invoice close date/by fields
authorBill Erickson <berickxx@gmail.com>
Tue, 13 Mar 2018 20:02:41 +0000 (16:02 -0400)
committerKathy Lussier <klussier@masslnc.org>
Wed, 5 Sep 2018 03:49:14 +0000 (23:49 -0400)
commitc69f50f29a01f652bd4068e58ec5e2ac2e10d785
tree4799453e47bc9269bf4afe0546bd47f24671371c
parent0020384a8daffa4225a22899be89e1cf7f60fb05
LP#1635354 Invoice close date/by fields

Acquisitions invoices have 2 new fields:

* Close Date -- This is set to the time when the ACQ user clicks the
  "Close" button in the invoice interface.

This field replaces the existing "Complete" field.  An invoice is now
considered complete if a close date value is set.

* Closed By -- This is set to the logged in staff user who performs the
  "Close" action.

As with the now-defunct 'complete' field, but new fields are cleared in the
event an invoice is reopened.

These new fields are visible in the invoice interface under the 'Show
Details' action for closed invoices.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Open-ILS/examples/fm_IDL.xml
Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Invoice.pm
Open-ILS/src/sql/Pg/200.schema.acq.sql
Open-ILS/src/sql/Pg/999.functions.global.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.schema.invoice-close-date.sql [new file with mode: 0644]
Open-ILS/web/js/ui/default/acq/invoice/view.js