thesmallstar commented on a change in pull request #1770:
URL: https://github.com/apache/fineract/pull/1770#discussion_r698035250



##########
File path: 
fineract-provider/src/main/java/org/apache/fineract/portfolio/loanaccount/domain/Loan.java
##########
@@ -3008,6 +3021,14 @@ public void makeRefund(final LoanTransaction 
loanTransaction, final LoanLifecycl
             final String errorMessage = "Transfer funds is allowed only for 
loan accounts with overpaid status ";
             throw new InvalidLoanStateTransitionException("transaction", 
"is.not.a.overpaid.loan", errorMessage);
         }
+
+        // // Update the transaction in loan collateral module.
+        // Set<LoanCollateralManagement> loanCollateralManagements =
+        // loanTransaction.getLoan().getLoanCollateralManagements();
+        // for (LoanCollateralManagement loanCollateralManagement: 
loanCollateralManagements) {
+        // loanCollateralManagement.setLoanTransactionData(loanTransaction);
+        // }
+

Review comment:
       ?




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