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


##########
fineract-loan/src/main/java/org/apache/fineract/portfolio/loanaccount/domain/DefaultLoanLifecycleStateMachine.java:
##########
@@ -202,6 +202,12 @@ private LoanStatus getNextStatus(LoanEvent loanEvent, Loan 
loan) {
                     newState = activeTransition();
                 }
             break;
+            case LOAN_COMPLETE_TRANSFER:

Review Comment:
   Lets enhance it by handling the CLOSED status as well correctly.
   
   If overpaid -> overpaidTransition()
   if fully paid -> closeObligationsMetTransition()
   else activeTransition()



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