josehernandezfintecheandomx commented on code in PR #2633:
URL: https://github.com/apache/fineract/pull/2633#discussion_r991210372
##########
fineract-provider/src/main/java/org/apache/fineract/portfolio/loanaccount/domain/Loan.java:
##########
@@ -1330,14 +1330,21 @@ private void updateLoanSummaryDerivedFields() {
this.totalOverpaid = null;
} else {
final Money overpaidBy = calculateTotalOverpayment();
- this.totalOverpaid = overpaidBy.getAmountDefaultedToNullIfZero();
+ this.totalOverpaid = null;
+ Money credits = Money.zero(getCurrency());
+ Money debits = Money.zero(getCurrency());
Review Comment:
For now yes, there is not any to be consider as debit
--
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]