MIFOSX-1200 : corrected openning balance while calculations

This commit is contained in:
Pramod Nuthakki
2014-05-14 23:00:49 +05:30
parent 363ca7dc0e
commit ae035ff2c9
@@ -256,7 +256,7 @@ public class FixedDepositAccount extends SavingsAccount {
final List<PostingPeriod> allPostingPeriods = new ArrayList<PostingPeriod>();
Money periodStartingBalance = Money.of(getCurrency(), this.accountTermAndPreClosure.depositAmount());
Money periodStartingBalance = Money.zero(currency);
final SavingsInterestCalculationType interestCalculationType = SavingsInterestCalculationType.fromInt(this.interestCalculationType);
final BigDecimal interestRateAsFraction = getEffectiveInterestRateAsFraction(mc, maturityDate);