LP#1562061 Make Lost/Long-overdue billings exclusive
authorDan Wells <dbw2@calvin.edu>
Thu, 13 Sep 2018 19:20:36 +0000 (15:20 -0400)
committerDan Wells <dbw2@calvin.edu>
Thu, 13 Sep 2018 19:46:48 +0000 (15:46 -0400)
commit388e5cba49295ad50f8e14ceb0eaf75dc099beb5
tree8f9876baf1bd7e606fb6dd19bbf0eeea55ab20a3
parentf594e2854a172ad61a5a27eaf3804d42a4a07020
LP#1562061 Make Lost/Long-overdue billings exclusive

It would be nice if, for purposes of status, we could mark long-
overdue items as lost, but without causing any duplicate billings.

This code interprets any long-overdue/lost billing as "final" for
automation purposes, and then only generates bills (and potentially
reopens xacts) in cases where no "final" billing has yet taken
place (based on stopfines).

(indenting left in place for readability, handled in follow-up)

Signed-off-by: Dan Wells <dbw2@calvin.edu>
Open-ILS/src/perlmods/lib/OpenILS/Application/Cat/AssetCommon.pm