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


##########
fineract-provider/src/main/java/org/apache/fineract/portfolio/loanaccount/domain/DefaultLoanLifecycleStateMachine.java:
##########
@@ -126,6 +126,11 @@ private LoanStatus getNextState(LoanEvent loanEvent, Loan 
loan) {
                     newState = overpaidTransition();
                 }
             break;
+            case LOAN_CHARGEBACK:
+                if (anyOfAllowedWhenComingFrom(from, 
LoanStatus.CLOSED_OBLIGATIONS_MET, LoanStatus.OVERPAID, LoanStatus.ACTIVE)) {
+                    newState = activeTransition();

Review Comment:
   @josehernandezfintecheandomx Please change it to set the "from" state to the 
"newState" AS-IS till the loan balance calculation and repayment schedule logic 
got implemented for the CHARGEBACK



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