FINERACT-1728:Issue with interest posting fix (#2574)
Co-authored-by: Dhaval Maniyar <dhavalmaniyar@Dhavals-MacBook-Pro.local>
This commit is contained in:
co-authored by
Dhaval Maniyar
parent
34aefd5d72
commit
72e78df0fc
+1
-3
@@ -68,9 +68,7 @@ public class SavingsAccountInterestPostingServiceImpl implements SavingsAccountI
|
||||
|
||||
if (backdatedTxnsAllowedTill && savingsAccountData.getSummary().getInterestPostedTillDate() != null) {
|
||||
interestPostedToDate = Money.of(savingsAccountData.getCurrency(), savingsAccountData.getSummary().getTotalInterestPosted());
|
||||
SavingsAccountTransactionData savingsAccountTransactionData = retrieveLastTransactions(savingsAccountData);
|
||||
LocalDate lastTransactionDate = savingsAccountTransactionData.getTransactionDate();
|
||||
savingsAccountData.setStartInterestCalculationDate(lastTransactionDate.plusDays(1));
|
||||
savingsAccountData.setStartInterestCalculationDate(savingsAccountData.getSummary().getInterestPostedTillDate());
|
||||
} else {
|
||||
savingsAccountData.setStartInterestCalculationDate(startInterestDate);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user