fineract-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lionel Raymundi (JIRA)" <>
Subject [jira] [Commented] (FINERACT-418) Penalties should be calculated until yesterday
Date Fri, 17 Mar 2017 12:59:42 GMT


Lionel Raymundi commented on FINERACT-418:

[~santoshmath] I see what you mean, but it is not the issue I've been working on. This is
the typical behavior of fineract, as it creates a penalty charge for each installment overdue
and for each period defined in the charge configuration. Of course, if you see the installment
plan, you will find the sum of all the charges that apply to the same installment.
The only modification I made, is that the penalty charge creation is not delayed one day.
If that is ok, I will create the pull request for you to check

> Penalties should be calculated until yesterday
> ----------------------------------------------
>                 Key: FINERACT-418
>                 URL:
>             Project: Apache Fineract
>          Issue Type: Improvement
>          Components: Loan
>            Reporter: Lionel Raymundi
>            Assignee: Markus Geiss
>              Labels: p2
>         Attachments: tests_with_modified_penalties_calculation_process.odt, tests_with_monthly_penalties.ods
> 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

View raw message