alberto-art3ch commented on code in PR #4754:
URL: https://github.com/apache/fineract/pull/4754#discussion_r2138246184
##########
fineract-progressive-loan/src/main/java/org/apache/fineract/portfolio/loanaccount/service/CapitalizedIncomeWritePlatformServiceImpl.java:
##########
@@ -151,9 +154,15 @@ public CommandProcessingResult
capitalizedIncomeAdjustment(final Long loanId, fi
MathUtil.negativeToZero(capitalizedIncomeBalance.getUnrecognizedAmount().subtract(transactionAmount)));
capitalizedIncomeBalanceRepository.save(capitalizedIncomeBalance);
- return new
CommandProcessingResultBuilder().withLoanId(loan.getId()).withLoanExternalId(loan.getExternalId())
- .withEntityId(savedCapitalizedIncomeAdjustment.getId())
-
.withEntityExternalId(savedCapitalizedIncomeAdjustment.getExternalId()).build();
+ return new CommandProcessingResultBuilder() //
+ .withLoanId(loan.getId()) //
+ .withLoanExternalId(loan.getExternalId()) //
Review Comment:
Done! code updated
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]