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


##########
fineract-working-capital-loan/src/main/java/org/apache/fineract/portfolio/workingcapitalloan/service/WorkingCapitalLoanWritePlatformServiceImpl.java:
##########
@@ -760,7 +768,8 @@ private CommandProcessingResult 
makeRepaymentLikeTransaction(final Long loanId,
             transactionReprocessingService.reprocessTransactions(loan, 
allTransactions);
         }
         // Delinquency and breach schedules are maintained incrementally here; 
reprocessing does not rebuild them.
-        internalWorkingCapitalLoanPaymentService.makePayment(loanId, 
principalPortion, transactionDate);
+        makePaymentForDelinquency(loanId, loan, principalPortion, 
transactionDate);
+        breachScheduleService.applyRepayment(loanId, transactionDate, 
principalPortion);

Review Comment:
   It would be better to uniform the way for delinquency and breach... same 
incoming parameters, same service based logic.



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