adamsaghy commented on code in PR #4625:
URL: https://github.com/apache/fineract/pull/4625#discussion_r2086362387


##########
fineract-provider/src/main/java/org/apache/fineract/portfolio/loanaccount/service/LoanWritePlatformServiceJpaRepositoryImpl.java:
##########
@@ -3579,4 +3468,125 @@ private boolean canDisburse(final Loan loan) {
         }
         return !statusEnum.hasStateOf(actualLoanStatus) || 
isMultiTrancheDisburse;
     }
+
+    private boolean isChronologicallyLatestTransaction(final LoanTransaction 
loanTransaction,

Review Comment:
   Same, we can check whether transaction date makes it the latest transaction 
or not... Or we can just simply fetch the latest transaction date (of not 
reversed transaction)...



-- 
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]

Reply via email to