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;
|
BigDecimal interestRatePerPeriod = null;
|
||||||
|
|
||||||
Integer numberOfRepayments = null;
|
Integer numberOfRepayments = null;
|
||||||
if (product.isUseBorrowerCycle() && loanCycleNumber > 0) {
|
if (product.isUseBorrowerCycle() && loanCycleNumber != null && loanCycleNumber > 0) {
|
||||||
Collection<LoanProductBorrowerCycleVariationData> principalVariationsForBorrowerCycle = product
|
Collection<LoanProductBorrowerCycleVariationData> principalVariationsForBorrowerCycle = product
|
||||||
.getPrincipalVariationsForBorrowerCycle();
|
.getPrincipalVariationsForBorrowerCycle();
|
||||||
Collection<LoanProductBorrowerCycleVariationData> interestForVariationsForBorrowerCycle = product
|
Collection<LoanProductBorrowerCycleVariationData> interestForVariationsForBorrowerCycle = product
|
||||||
|
|||||||
Reference in New Issue
Block a user