[
https://issues.apache.org/jira/browse/FINERACT-2520?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18063500#comment-18063500
]
Vignesh commented on FINERACT-2520:
-----------------------------------
Hello [~adamsaghy], I've completed a static analysis of
{{{}ProgressiveLoanScheduleGenerator.java{}}}. It appears that while
{{chargesDueAtTimeOfDisbursement}} is correctly derived at line 90, it is not
being added to the {{scheduleParams.addTotalRepaymentExpected()}} or correctly
integrated into the {{ProgressiveLoanInterestScheduleModel}} during the initial
disbursement processing. I am currently working on a fix to ensure these
charges are accounted for in the total expected repayment of the progressive
schedule.
> Loan charges are missed at disbursement
> ---------------------------------------
>
> Key: FINERACT-2520
> URL: https://issues.apache.org/jira/browse/FINERACT-2520
> Project: Apache Fineract
> Issue Type: Bug
> Affects Versions: 1.14.0
> Reporter: Adam Saghy
> Assignee: Adam Saghy
> Priority: Major
> Labels: beginner, beginner-friendly
>
> You’ll need a loan charge, %Amount, due at specific date.
> You’ll either add the charge to the loan *product* or to the loan account
> before approval/disbursement.
> Steps to reproduce:
> # Create a loan with the above charge added.
> # The loan must have *progressive* repayment schedule
> # Disburse the loan
> Expected result:
> * the loan has the charges calculated and added
> Actual result:
> * loan misses the charges already added
> Note: it works correctly with cummulative loans.
>
> *Acceptance criteria*
> * Disbursement charges can be applied to progressive loans
--
This message was sent by Atlassian Jira
(v8.20.10#820010)