reluxa commented on code in PR #3610:
URL: https://github.com/apache/fineract/pull/3610#discussion_r1409017748


##########
fineract-provider/src/main/java/org/apache/fineract/portfolio/delinquency/service/DelinquencyWritePlatformServiceImpl.java:
##########
@@ -398,6 +398,11 @@ private Map<String, Object> setLoanDelinquencyTag(Loan 
loan, Long delinquencyRan
                 loanDelinquencyTagPrev.setLiftedOnDate(transactionDate);
                 loanDelinquencyTagHistory.add(loanDelinquencyTagPrev);
                 changes.put("previous", 
loanDelinquencyTagPrev.getDelinquencyRange());
+                // event when loan goes out of delinquency we do not calculate 
at
+                // installment level and remove all installment tags, so event 
needs to raised here.
+                if (loan.isEnableInstallmentLevelDelinquency()) {
+                    businessEventNotifierService.notifyPostBusinessEvent(new 
LoanDelinquencyRangeChangeBusinessEvent(loan));

Review Comment:
   Do we have tests for this?



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