fineract-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nazeer1100...@apache.org
Subject [1/2] incubator-fineract git commit: FINERACT-352 fix showing penalties after last loan's installment
Date Fri, 13 Jan 2017 08:51:06 GMT
Repository: incubator-fineract
Updated Branches:
  refs/heads/develop 749266d40 -> 80fada22a


FINERACT-352 fix showing penalties after last loan's installment


Project: http://git-wip-us.apache.org/repos/asf/incubator-fineract/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-fineract/commit/392dff0c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-fineract/tree/392dff0c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-fineract/diff/392dff0c

Branch: refs/heads/develop
Commit: 392dff0cd1408632cf994063f1a0901c331b35d9
Parents: 4fb7794
Author: lionel <lionel@poincenot.com>
Authored: Thu Jan 12 11:11:50 2017 -0300
Committer: lionel <lionel@poincenot.com>
Committed: Thu Jan 12 11:11:50 2017 -0300

----------------------------------------------------------------------
 .../service/LoanWritePlatformServiceJpaRepositoryImpl.java        | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-fineract/blob/392dff0c/fineract-provider/src/main/java/org/apache/fineract/portfolio/loanaccount/service/LoanWritePlatformServiceJpaRepositoryImpl.java
----------------------------------------------------------------------
diff --git a/fineract-provider/src/main/java/org/apache/fineract/portfolio/loanaccount/service/LoanWritePlatformServiceJpaRepositoryImpl.java
b/fineract-provider/src/main/java/org/apache/fineract/portfolio/loanaccount/service/LoanWritePlatformServiceJpaRepositoryImpl.java
index 38afb87..37d1325 100755
--- a/fineract-provider/src/main/java/org/apache/fineract/portfolio/loanaccount/service/LoanWritePlatformServiceJpaRepositoryImpl.java
+++ b/fineract-provider/src/main/java/org/apache/fineract/portfolio/loanaccount/service/LoanWritePlatformServiceJpaRepositoryImpl.java
@@ -2375,7 +2375,6 @@ public class LoanWritePlatformServiceJpaRepositoryImpl implements LoanWritePlatf
                 LoanRepaymentScheduleInstallment newEntry = new LoanRepaymentScheduleInstallment(loan,
installments.size() + 1,
                         lastInstallment.getDueDate(), lastChargeDate, principal, interest,
feeCharges, penaltyCharges,
                         recalculatedInterestComponent, compoundingDetails);
-                installments.add(newEntry);
                 loan.addLoanRepaymentScheduleInstallment(newEntry);
             }
         }
@@ -2960,4 +2959,4 @@ public class LoanWritePlatformServiceJpaRepositoryImpl implements LoanWritePlatf
 	   	}
 	   	
 	   }
-}
\ No newline at end of file
+}


Mime
View raw message