LP#1635354 Invoice close date/by fields
authorBill Erickson <berickxx@gmail.com>
Tue, 13 Mar 2018 20:02:41 +0000 (16:02 -0400)
committerBill Erickson <berickxx@gmail.com>
Fri, 20 Apr 2018 15:45:11 +0000 (11:45 -0400)
commit39b0ff86ec759c8af5541652201fb14ec6c8a642
tree0dfc90805f0eb304b42dcfac40ae1024b57a45ac
parent3a3cbc988c5431a1875397e9470ecf8025fa9e6b
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>
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