Merge branch 'FINERACT-377' into develop
This commit is contained in:
+6
-3
@@ -600,6 +600,7 @@ public class RecurringDepositAccount extends SavingsAccount {
|
||||
if (interestPostingUpToDate == null) {
|
||||
interestPostingUpToDate = closeDate;
|
||||
}
|
||||
this.setClosedOnDate(closeDate);
|
||||
final MathContext mc = MathContext.DECIMAL64;
|
||||
boolean isInterestTransfer = false;
|
||||
LocalDate postInterestOnDate = null;
|
||||
@@ -642,7 +643,6 @@ public class RecurringDepositAccount extends SavingsAccount {
|
||||
// correct.
|
||||
recalculateDailyBalances(Money.zero(this.currency), interestPostingUpToDate);
|
||||
}
|
||||
|
||||
this.summary.updateSummary(this.currency, this.savingsAccountTransactionSummaryWrapper, this.transactions);
|
||||
}
|
||||
|
||||
@@ -1083,8 +1083,7 @@ public class RecurringDepositAccount extends SavingsAccount {
|
||||
final Integer lockinPeriodFrequency = this.lockinPeriodFrequency;
|
||||
final boolean withdrawalFeeApplicableForTransfer = false;
|
||||
|
||||
LocalDate now = DateUtils.getLocalDateOfTenant();
|
||||
|
||||
LocalDate now = getClosedOnDate();
|
||||
newAccountTermAndPreClosure.updateExpectedFirstDepositDate(now);
|
||||
|
||||
RecurringDepositAccount rdAccount = RecurringDepositAccount.createNewActivatedAccount(client, group, product, savingsOfficer,
|
||||
@@ -1120,6 +1119,10 @@ public class RecurringDepositAccount extends SavingsAccount {
|
||||
|
||||
this.activatedOnDate = now.toDate();
|
||||
}
|
||||
|
||||
public void setClosedOnDate(final LocalDate closedOnDate) {
|
||||
this.closedOnDate = closedOnDate.toDate();
|
||||
}
|
||||
|
||||
@Override
|
||||
protected boolean isTransferInterestToOtherAccount() {
|
||||
|
||||
Reference in New Issue
Block a user