FINERACT-1981: Introduce Interest should not be calculated on past due principal amount
This commit is contained in:
committed by
Adam Saghy
parent
3858611190
commit
4cb849fa17
+4
@@ -982,6 +982,10 @@ public class AdvancedPaymentScheduleTransactionProcessor extends AbstractLoanRep
|
||||
|
||||
private void adjustOverduePrincipalForInstallment(LocalDate currentDate, LoanRepaymentScheduleInstallment currentInstallment,
|
||||
Money overduePrincipal, Money aggregatedOverDuePrincipal, ProgressiveTransactionCtx ctx) {
|
||||
if (currentInstallment.getLoan().getLoanInterestRecalculationDetails().disallowInterestCalculationOnPastDue()) {
|
||||
return;
|
||||
}
|
||||
|
||||
LocalDate fromDate = currentInstallment.getFromDate();
|
||||
LocalDate toDate = currentInstallment.getDueDate();
|
||||
boolean hasUpdate = false;
|
||||
|
||||
Reference in New Issue
Block a user