]> git.evergreen-ils.org Git - working/Evergreen.git/commit
LP#1748924 Enhanced Billing Timestamp Support
authorDan Wells <dbw2@calvin.edu>
Mon, 12 Feb 2018 15:11:33 +0000 (10:11 -0500)
committerJeff Godin <jgodin@tadl.org>
Thu, 1 Mar 2018 18:57:48 +0000 (13:57 -0500)
commit73a8eaaf265b992bc37b7930c1a4c0a5f75e6a57
tree052fda3af812ee59c0b606179b36c896253e716c
parentba4c86439b16126e37b4e3c691afe11b64b028f4
LP#1748924 Enhanced Billing Timestamp Support

As discussed at Hack-a-way 2016, rather than continue to try to cram
multiple meanings into one timestamp, let's create a complete set of
all the useful timestamps for a typical billing.

In this new config, every billing will have a 'create_date', then most
(overdues) will also describe when they start and end.

billing_ts is now deprecated, but will continue to exist for backwards
compatibility.  It will be managed by trigger to approximate its
current definition; equal to 'period_end' for overdues, equal to
'create_date' for other billings.

Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Jeff Godin <jgodin@tadl.org>
Open-ILS/examples/fm_IDL.xml
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/CircCommon.pm
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Money.pm
Open-ILS/src/sql/Pg/080.schema.money.sql