|
Dmytro Popov has requested this as he needs it to anonymize closed loans (see
CIRC-367
Closed
). Closed loans cannot be anonymized if they have an open fee/fine. In order to continue his work, Dmytro Popov has followed Holly's recommendation, which is as follows: "The fee/fine is considered paid off when the Remaining Amount is 0. Fees/fines transactions are handled as a series of "actions." The action that brings the balance to 0 will have what we call the Action Date. This will be the date the fee/fine was paid off. Fees/fines can be refunded at a later date, so even if one is closed, it could have further activity in the form of a refund."
Even though we have a workaround, Holly wants to continue on with this because it will also assist people writing reports. It seems like a logical piece of data to have available.
When the fee/fine has a remaining amount =< 0, the Date Fee/Fine Closed should be set to the current system date and time.
|