adamsaghy commented on code in PR #4625:
URL: https://github.com/apache/fineract/pull/4625#discussion_r2086356548
##########
fineract-loan/src/main/java/org/apache/fineract/portfolio/loanaccount/domain/LoanTransaction.java:
##########
@@ -910,4 +910,23 @@ public void updateAmount(BigDecimal bigDecimal) {
public void updateTransactionDate(final LocalDate transactionDate) {
this.dateOf = transactionDate;
}
+
+ public boolean isChronologicallyLatestRepaymentOrWaiver() {
Review Comment:
Can we remove entirely this and rather going through all the possible
transactions, we should just initiate a query which tells us the answer.
Ultimately we are trying to move away from fetching all transactions and doing
actions on them.
--
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]