Merge branch 'FINERACT90' into develop
This commit is contained in:
+1
-1
@@ -2541,7 +2541,7 @@ public class LoanWritePlatformServiceJpaRepositoryImpl implements LoanWritePlatf
|
|||||||
Collection<LoanDisbursementDetails> loanDisburseDetails = loan.getDisbursementDetails();
|
Collection<LoanDisbursementDetails> loanDisburseDetails = loan.getDisbursementDetails();
|
||||||
BigDecimal setAmount = BigDecimal.ZERO;
|
BigDecimal setAmount = BigDecimal.ZERO;
|
||||||
for (LoanDisbursementDetails details : loanDisburseDetails) {
|
for (LoanDisbursementDetails details : loanDisburseDetails) {
|
||||||
if (details.expectedDisbursementDate() != null) {
|
if (details.actualDisbursementDate() != null) {
|
||||||
setAmount = setAmount.add(details.principal());
|
setAmount = setAmount.add(details.principal());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user