josehernandezfintecheandomx commented on code in PR #2668:
URL: https://github.com/apache/fineract/pull/2668#discussion_r1005793714
##########
fineract-provider/src/main/java/org/apache/fineract/portfolio/loanaccount/domain/Loan.java:
##########
@@ -4848,6 +4860,15 @@ public LocalDate getLastRepaymentDate() {
return currentTransactionDate;
}
+ public LoanTransaction getLastRepaymentTransaction() {
+ for (final LoanTransaction loanTransaction : this.loanTransactions) {
+ if (loanTransaction.isRepaymentType()) {
Review Comment:
Done!
--
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]