Interest amount is not equal for clients with fee and without fee.

Description

Repro:

1. Create a loan with 3 clients.
2. Loans are with the amount of 200,300 and 500 sum is 1000.
3. Product is with a flat interest of 21% and over a period of 10 payments (interest 1.75% per month).
4. Create also the same loan, but now it should also have fee amount 1.

Expected result:
Interest rate on group and members account should be 176.

Actual result:
Client with fee has interest 175 but client without fee has interest 176. See attachments.

Environment

Build Date Sun Jan 27 13:12:52 PST 2013
Build Number hudson-head-master-archive-1300

Activity

Show:
Paweł Reise
February 7, 2013, 10:26 AM

Fixed in commits:
6e1645b50675d204f3588f9a72d7d981f44d819f
a8bfc3f08a3e72eae7ef9952cae8119c8eac32d8
build-number: head-master-commit #1497

Natalia Szpręga
February 7, 2013, 10:31 AM

Bug has been fixed properly.
Build Date Feb 07 2:09:06 PST 2013
Build Number hudson-head-master-archive-1312

Natalia Szpręga
February 12, 2013, 3:11 PM

Total has amount with comma at the individual level. It should be total amount (see organizational settings in mifos). Note: fee and interest amount can not be edited. Only principal may be changed.
Principal = total - interest - fee

Paweł Reise
February 13, 2013, 2:03 PM

Fixed in commit:
bdd679feb256d344a30ed783b4cd7d6d97781b8f
build-number: head-master-commit #1514

Natalia Szpręga
February 14, 2013, 9:54 AM

Totals do not have comas. Bug has been fixed properly.
Build Date Wed Feb 13 08:39:15 PST 2013
Build Number hudson-head-master-archive-1330

Assignee

Paweł Reise

Reporter

Natalia Szpręga

Labels

URL

None

Story Points

None

Team

Core

Scheduled For

None

Epic

None

Notify

None

productboard URL

None

Man Day Estimate

None

Time tracking

0m

Time remaining

0m

Fix versions

Affects versions

Priority

Minor
Configure