Uploaded image for project: 'Apache Fineract'
  1. Apache Fineract
  2. FINERACT-418

Penalties should be calculated until yesterday

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • Loan

    Description

      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.

      Attachments

        1. tests_with_modified_penalties_calculation_process.odt
          271 kB
          Lionel Raymundi
        2. tests_with_monthly_penalties.ods
          24 kB
          Lionel Raymundi

        Issue Links

          Activity

            People

              mgeiss Markus Geiss
              lionel.raymundi Lionel Raymundi
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: