MIFOSX-2085:scond repayment computing more interest resolved
This commit is contained in:
+5
-1
@@ -1243,7 +1243,11 @@ public abstract class AbstractLoanScheduleGenerator implements LoanScheduleGener
|
|||||||
final LocalDate idealDisbursementDate, LocalDate periodStartDateApplicableForInterest) {
|
final LocalDate idealDisbursementDate, LocalDate periodStartDateApplicableForInterest) {
|
||||||
if (periodStartDate.isBefore(idealDisbursementDate)) {
|
if (periodStartDate.isBefore(idealDisbursementDate)) {
|
||||||
if (loanApplicationTerms.getInterestChargedFromLocalDate() != null) {
|
if (loanApplicationTerms.getInterestChargedFromLocalDate() != null) {
|
||||||
periodStartDateApplicableForInterest = loanApplicationTerms.getInterestChargedFromLocalDate();
|
if (periodStartDate.isEqual(loanApplicationTerms.getExpectedDisbursementDate())
|
||||||
|
|| loanApplicationTerms.getCalculatedRepaymentsStartingFromLocalDate().isBefore(
|
||||||
|
loanApplicationTerms.getInterestChargedFromLocalDate())) {
|
||||||
|
periodStartDateApplicableForInterest = loanApplicationTerms.getInterestChargedFromLocalDate();
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
periodStartDateApplicableForInterest = idealDisbursementDate;
|
periodStartDateApplicableForInterest = idealDisbursementDate;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user