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


##########
fineract-provider/src/main/java/org/apache/fineract/portfolio/loanaccount/service/LoanWritePlatformServiceJpaRepositoryImpl.java:
##########
@@ -3092,6 +3098,15 @@ public CommandProcessingResult chargeOff(JsonCommand 
command) {
         final List<Long> existingTransactionIds = 
loan.findExistingTransactionIds();
         final List<Long> existingReversedTransactionIds = 
loan.findExistingReversedTransactionIds();
 
+        final LoanChargeOffBehaviour chargeOffBehaviour = 
loan.getLoanProductRelatedDetail().getChargeOffBehaviour();
+        if (loan.isProgressiveSchedule()) {

Review Comment:
   This should not be created only for progressive loans... We can create the 
missing accrual for cumulative loans as well...



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