budaidev commented on code in PR #4522:
URL: https://github.com/apache/fineract/pull/4522#discussion_r2022824465
##########
fineract-provider/src/main/java/org/apache/fineract/portfolio/loanaccount/service/LoanWritePlatformServiceJpaRepositoryImpl.java:
##########
@@ -2877,7 +2877,7 @@ public CommandProcessingResult chargeOff(JsonCommand
command) {
throw new
GeneralPlatformDomainRuleException("error.msg.loan.is.already.charged.off",
"Loan: " + loanId + " is already charged-off", loanId);
}
- if (DateUtils.isBefore(transactionDate,
loan.getLastUserTransactionDate())) {
+ if (DateUtils.isBefore(transactionDate,
loan.getLastNonReversedUserTransactionDate())) {
Review Comment:
Thats right it is not connected to the original issue
--
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]