somasorosdpc commented on code in PR #4922: URL: https://github.com/apache/fineract/pull/4922#discussion_r2272064928
########## fineract-provider/src/main/java/org/apache/fineract/portfolio/loanaccount/service/LoanTransactionProcessingServiceImpl.java: ########## @@ -103,6 +103,7 @@ private ChangedTransactionDetail processLatestTransactionProgressiveInterestReca new ChangedTransactionDetail(), model, getTotalRefundInterestAmount(loan)); progressiveContext.getAlreadyProcessedTransactions().addAll(loanTransactionService.retrieveListOfTransactionsForReprocessing(loan)); progressiveContext.setChargedOff(loan.isChargedOff()); + progressiveContext.setWrittenOff(loan.isClosedWrittenOff()); Review Comment: It looks suspicious. Please check `setChargedOff` usage and update the code to use `setWrittenOff` and `setContractTerminated` if necessary. -- 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: commits-unsubscr...@fineract.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org