adamsaghy commented on code in PR #4154:
URL: https://github.com/apache/fineract/pull/4154#discussion_r1840661166
##########
fineract-progressive-loan/src/main/java/org/apache/fineract/portfolio/loanaccount/domain/transactionprocessor/impl/ChangeOperation.java:
##########
@@ -108,7 +110,16 @@ private OffsetDateTime getCreatedDateTime() {
} else if (loanCharge.isPresent() &&
loanCharge.get().getCreatedDate().isPresent()) {
return loanCharge.get().getCreatedDate().get();
} else if (loanTransaction.isPresent()) {
- return loanTransaction.get().getCreatedDate().orElse(null);
+ if (loanTransaction.get().isInterestRefund()) {
Review Comment:
I dont think we need this magic here. Please undo.
--
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]