MIFOSX-1163 - corrected accounting entries
This commit is contained in:
+1
@@ -177,6 +177,7 @@ public class DepositAccountWritePlatformServiceJpaRepositoryImpl implements Depo
|
|||||||
null, AccountTransferType.ACCOUNT_TRANSFER.getValue(), null, null, null, null, account);
|
null, AccountTransferType.ACCOUNT_TRANSFER.getValue(), null, null, null, null, account);
|
||||||
this.accountTransfersWritePlatformService.transferFunds(accountTransferDTO);
|
this.accountTransfersWritePlatformService.transferFunds(accountTransferDTO);
|
||||||
}
|
}
|
||||||
|
updateExistingTransactionsDetails(account, existingTransactionIds, existingReversedTransactionIds);
|
||||||
}
|
}
|
||||||
// account.processAccountUponActivation(fmt);
|
// account.processAccountUponActivation(fmt);
|
||||||
|
|
||||||
|
|||||||
+1
@@ -159,6 +159,7 @@ public class SavingsAccountWritePlatformServiceJpaRepositoryImpl implements Savi
|
|||||||
if (amountForDeposit.isGreaterThanZero()) {
|
if (amountForDeposit.isGreaterThanZero()) {
|
||||||
this.savingsAccountDomainService.handleDeposit(account, fmt, account.getActivationLocalDate(),
|
this.savingsAccountDomainService.handleDeposit(account, fmt, account.getActivationLocalDate(),
|
||||||
amountForDeposit.getAmount(), null);
|
amountForDeposit.getAmount(), null);
|
||||||
|
updateExistingTransactionsDetails(account, existingTransactionIds, existingReversedTransactionIds);
|
||||||
}
|
}
|
||||||
account.processAccountUponActivation();
|
account.processAccountUponActivation();
|
||||||
account.validateAccountBalanceDoesNotBecomeNegative(SavingsAccountTransactionType.PAY_CHARGE.name());
|
account.validateAccountBalanceDoesNotBecomeNegative(SavingsAccountTransactionType.PAY_CHARGE.name());
|
||||||
|
|||||||
Reference in New Issue
Block a user