Merge pull request #911 from pramodn02/MIFOSX-1200
MIFOSX-1200 : corrected openning balance while calculations
This commit is contained in:
+1
-1
@@ -256,7 +256,7 @@ public class FixedDepositAccount extends SavingsAccount {
|
|||||||
|
|
||||||
final List<PostingPeriod> allPostingPeriods = new ArrayList<PostingPeriod>();
|
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 SavingsInterestCalculationType interestCalculationType = SavingsInterestCalculationType.fromInt(this.interestCalculationType);
|
||||||
final BigDecimal interestRateAsFraction = getEffectiveInterestRateAsFraction(mc, maturityDate);
|
final BigDecimal interestRateAsFraction = getEffectiveInterestRateAsFraction(mc, maturityDate);
|
||||||
|
|||||||
Reference in New Issue
Block a user