FINERACT-2034 : Fixed Handle Null Loan Cycle Counter in Loan Product Assignment for Borrow Cycle Enabled Products
This commit is contained in:
committed by
Aleksandar Vidakovic
parent
478fb55b0f
commit
5d96e8cc32
+1
-1
@@ -500,7 +500,7 @@ public class LoanAccountData {
|
||||
BigDecimal interestRatePerPeriod = null;
|
||||
|
||||
Integer numberOfRepayments = null;
|
||||
if (product.isUseBorrowerCycle() && loanCycleNumber > 0) {
|
||||
if (product.isUseBorrowerCycle() && loanCycleNumber != null && loanCycleNumber > 0) {
|
||||
Collection<LoanProductBorrowerCycleVariationData> principalVariationsForBorrowerCycle = product
|
||||
.getPrincipalVariationsForBorrowerCycle();
|
||||
Collection<LoanProductBorrowerCycleVariationData> interestForVariationsForBorrowerCycle = product
|
||||
|
||||
Reference in New Issue
Block a user