[
http://mifosforge.jira.com/browse/MIFOS-5086?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=69930#comment-69930
]
Lukasz Chudy commented on MIFOS-5086:
-------------------------------------
I spend some time on verifying this issue and it seems that corret calculations
are only in e-release. So, in G and F releases the interests are calculated
wrong.
To reproduce this bug follow these steps (in G-Release):
1. Set the following properties in custom properties file:
AccountingRules.DigitsAfterDecimal=1
AccountingRules.InitialRoundingMode=HALF_UP
AccountingRules.FinalRoundingMode=CEILING
AccountingRules.CurrencyRoundingMode=HALF_UP
AccountingRules.InitialRoundOffMultiple=1
AccountingRules.FinalRoundOffMultiple=1
2. Login to Mifos.
3. Go to 'Client&Accounts' tab and click on 'Create Loan Account' link.
4. Select any Client with weekly meetings and any Loan product with interest
rate type: Declining Balance.
5. On 'Enter Loan account information' page enter the following data:
- Amount: 1000
- Interest rate: 20
- Number of installments: 5
6. Click on 'Continue' button.
7. Notice that on 'Review installments' page, the last Principal=202.7, last
Interest=0.7 and last Total=203.5
8. Click on 'Preview' button.
9. Notice that on 'Preview Loan account information' page, the last
Principal=202.7, last Interest=0.7 and last Total=203.4
Expected result:
On 'Review installments' page and 'Preview Loan account information' page
nubers should be the same and on both pages these numbers are incorrect.
According to the loan-repayment-master.xls file and my calculations the correct
numbers for the last payment should be:
- Principal=202.7
- Interest=1.3
- Total=204.0
> In Release 2.2, interest calculation for variable installment loans is
> different than in Release 2.1.x
> ------------------------------------------------------------------------------------------------------
>
> Key: MIFOS-5086
> URL: http://mifosforge.jira.com/browse/MIFOS-5086
> Project: mifos
> Issue Type: Bug
> Components: Loan Account
> Affects Versions: Release 2.2
> Reporter: Lukasz Chudy
> Assignee: emilytucker
> Priority: Major
> Labels: LoanCalculations
> Fix For: Release 2.2.1
>
> Attachments: differencesBetweenFreleaseAndGrelease.png
>
>
> In Release G interests are calculated in different way than in Release 2.1.x.
> See attached screenshot.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
http://mifosforge.jira.com/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues