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


##########
fineract-loan/src/main/java/org/apache/fineract/portfolio/loanaccount/domain/Loan.java:
##########
@@ -2699,8 +2699,8 @@ public void processPostDisbursementTransactions() {
     }
 
     public LoanScheduleDTO getRecalculatedSchedule(final ScheduleGeneratorDTO 
generatorDTO) {
-        if (!this.repaymentScheduleDetail().isEnableDownPayment()
-                && 
(!this.repaymentScheduleDetail().isInterestRecalculationEnabled() || isNpa || 
isChargedOff())) {
+        if (!this.repaymentScheduleDetail().isEnableDownPayment() && 
(!this.repaymentScheduleDetail().isInterestRecalculationEnabled()

Review Comment:
   recalculate from is null many situations, but still we dont wanna 
recalculate schedule...



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