Merge pull request #911 from pramodn02/MIFOSX-1200

MIFOSX-1200 : corrected openning balance while calculations
This commit is contained in:
Vishwas Babu A J
2014-05-19 09:55:11 +05:30
@@ -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);