You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fineract.apache.org by ad...@apache.org on 2023/04/06 13:49:09 UTC

[fineract] branch develop updated: FINERACT-1724: Fix in advance amount on repayment schedule

This is an automated email from the ASF dual-hosted git repository.

adamsaghy pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/fineract.git


The following commit(s) were added to refs/heads/develop by this push:
     new 638ebf5bc FINERACT-1724: Fix in advance amount on repayment schedule
638ebf5bc is described below

commit 638ebf5bc4414ca5cb8ad843152ab6189391bd07
Author: Adam Saghy <ad...@gmail.com>
AuthorDate: Thu Apr 6 13:04:25 2023 +0200

    FINERACT-1724: Fix in advance amount on repayment schedule
---
 .../portfolio/loanaccount/domain/LoanRepaymentScheduleInstallment.java  | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/fineract-provider/src/main/java/org/apache/fineract/portfolio/loanaccount/domain/LoanRepaymentScheduleInstallment.java b/fineract-provider/src/main/java/org/apache/fineract/portfolio/loanaccount/domain/LoanRepaymentScheduleInstallment.java
index ab2b6326d..5e74e9fe3 100644
--- a/fineract-provider/src/main/java/org/apache/fineract/portfolio/loanaccount/domain/LoanRepaymentScheduleInstallment.java
+++ b/fineract-provider/src/main/java/org/apache/fineract/portfolio/loanaccount/domain/LoanRepaymentScheduleInstallment.java
@@ -423,6 +423,8 @@ public class LoanRepaymentScheduleInstallment extends AbstractAuditableWithUTCDa
 
         checkIfRepaymentPeriodObligationsAreMet(transactionDate, currency);
 
+        trackAdvanceAndLateTotalsForRepaymentPeriod(transactionDate, currency, penaltyPortionOfTransaction);
+
         return penaltyPortionOfTransaction;
     }