alberto-art3ch commented on code in PR #5078:
URL: https://github.com/apache/fineract/pull/5078#discussion_r2503505330


##########
fineract-provider/src/main/java/org/apache/fineract/portfolio/loanaccount/service/LoanTransactionProcessingServiceImpl.java:
##########
@@ -149,11 +149,14 @@ private Loan getLoan(List<LoanTransaction> 
loanTransactions, List<LoanRepaymentS
     @Override
     public ChangedTransactionDetail reprocessLoanTransactions(String 
transactionProcessingStrategyCode, LocalDate disbursementDate,
             List<LoanTransaction> loanTransactions, MonetaryCurrency currency, 
List<LoanRepaymentScheduleInstallment> installments,
-            Set<LoanCharge> charges) {
+            Set<LoanCharge> charges, boolean 
interestRecognitionOnDisbursementDate) {
         final LoanRepaymentScheduleTransactionProcessor 
loanRepaymentScheduleTransactionProcessor = getTransactionProcessor(
                 transactionProcessingStrategyCode);
         if (loanRepaymentScheduleTransactionProcessor instanceof 
AdvancedPaymentScheduleTransactionProcessor advancedProcessor) {
             LocalDate currentDate = DateUtils.getBusinessLocalDate();
+            if (interestRecognitionOnDisbursementDate && 
currentDate.equals(disbursementDate)) {

Review Comment:
   Done! Changed



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