adamsaghy commented on code in PR #5696:
URL: https://github.com/apache/fineract/pull/5696#discussion_r3028515498
##########
fineract-loan/src/main/java/org/apache/fineract/portfolio/loanaccount/service/LoanApprovedAmountWritePlatformServiceImpl.java:
##########
@@ -100,15 +104,16 @@ public CommandProcessingResult
modifyLoanAvailableDisbursementAmount(Long loanId
.add(newAvailableDisbursementAmount);
changes.put("newApprovedAmount", newApprovedAmount);
+ validateNewApprovedAmountDiffersFromCurrent(loan, newApprovedAmount);
Review Comment:
I dont think its valid to check whether approved amount was changed... it is
valid operation to change the expected disbursement amount only... Am I missing
something here?
--
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]