You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fineract.apache.org by ar...@apache.org on 2023/01/11 11:12:53 UTC

[fineract] branch develop updated: FINERACT-1734-LoanBalanceChanged-Business-Event-Chargeback

This is an automated email from the ASF dual-hosted git repository.

arnold pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/fineract.git


The following commit(s) were added to refs/heads/develop by this push:
     new 24ff5e869  FINERACT-1734-LoanBalanceChanged-Business-Event-Chargeback
24ff5e869 is described below

commit 24ff5e869143cb1f45e5e060b3d6d22efc8fa860
Author: Ruchi Dhamankar <ru...@gmail.com>
AuthorDate: Wed Jan 11 10:58:54 2023 +0530

     FINERACT-1734-LoanBalanceChanged-Business-Event-Chargeback
---
 .../loanaccount/service/LoanWritePlatformServiceJpaRepositoryImpl.java   | 1 +
 1 file changed, 1 insertion(+)

diff --git a/fineract-provider/src/main/java/org/apache/fineract/portfolio/loanaccount/service/LoanWritePlatformServiceJpaRepositoryImpl.java b/fineract-provider/src/main/java/org/apache/fineract/portfolio/loanaccount/service/LoanWritePlatformServiceJpaRepositoryImpl.java
index 539a50d9f..760f76e2a 100644
--- a/fineract-provider/src/main/java/org/apache/fineract/portfolio/loanaccount/service/LoanWritePlatformServiceJpaRepositoryImpl.java
+++ b/fineract-provider/src/main/java/org/apache/fineract/portfolio/loanaccount/service/LoanWritePlatformServiceJpaRepositoryImpl.java
@@ -1288,6 +1288,7 @@ public class LoanWritePlatformServiceJpaRepositoryImpl implements LoanWritePlatf
         this.loanAccountDomainService.setLoanDelinquencyTag(loan, transactionDate);
 
         businessEventNotifierService.notifyPostBusinessEvent(new LoanChargebackTransactionBusinessEvent(loanTransaction));
+        businessEventNotifierService.notifyPostBusinessEvent(new LoanBalanceChangedBusinessEvent(loan));
 
         return new CommandProcessingResultBuilder() //
                 .withCommandId(command.commandId()) //