Lionel Raymundi created FINERACT-418:
----------------------------------------
Summary: Penalties should be calculated until yesterday
Key: FINERACT-418
URL: https://issues.apache.org/jira/browse/FINERACT-418
Project: Apache Fineract
Issue Type: Improvement
Reporter: Lionel Raymundi
Assignee: Markus Geiss
If the Apply Penalties to Overdued loans job is run on the N day, and
considering that system properties Grace on Penalty posting = 0 and
penalty-wait-period = 0, then charges should be generated until N-1 (the day
before N). But I see only charges generated until N-2 (Two days before).
We have noticed that penalty charges are being generated one day late for some
cases. For example:
.- Lets suppose the due date of an installment is on march the 5th.
.- Overdue penalty is configured as 1% of installment interest, charged daily.
.- System configuration has Grace on Penalty posting = 0 and
penalty-wait-period = 0
.- Run the Apply penalties to Overdued Loans job.
.- Today is march the 7th, so I would expect to see penalties on that
installment on the repayment schedule considering the following:
a) Client didn't pay On march 5th. One penalty charge should be generated.
b) Client didn't pay On march 6th. Two penalty charges should be generated.
.- I would also expect to see the charge generated with due as of date 05 and
06 March 2017 under "Charges" tab. But I only see one penalty, as of 05.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)