For New GLIM loans, sum of interest on Group loan account is different than on sum of interest on member accounts

Description

Sum of interest on Group loan account is different than on sum of interest on member accounts.

Repro:
1. Create GLIM account with 2 members (1st member amount 1111 and 2nd member amount 4321, Interest Rate Type: Flat, Interest rate: 21% APR, 8 Installments, Monthly frequency).
2. Check Group Loan schedule nad members schedules.

Expected result:
760 interest amount on Group loan account and sum on interest amount on member accounts is the same.

Actual result:
760 interest amount on Group loan account and on 1st account is 156 and on 2nd is 605, so sum is 761.

Note:
As a result of this difference, it is not possible to close member account when second member has already been closed.

Environment

Build Date: Mon Jan 07 08:04:53 PST 2013
Build Number: hudson-head-master-archive-1249

Activity

Show:
Natalia Szpręga
January 22, 2013, 3:32 PM

Bug has not been fixed. Still it is not possible to close second account.
Build Date Tue Jan 22 03:34:09 PST 2013
Build Number hudson-head-master-archive-1278

Wojciech Szarmacher
January 25, 2013, 9:59 AM

Fixed in 12a2a6a673f02722790c401c9e84c2ebead0ee17

Natalia Szpręga
January 25, 2013, 11:26 AM
Edited

Fee is different on group and client account. On group account I have fee = 1 and on accounts fee = 0.63 and 0.38 so sum is 1.1

Wojciech Szarmacher
January 26, 2013, 11:08 AM

Fixed in 3dbf253cb74b26175e15aaa01c0549a139fccb12

Natalia Szpręga
January 28, 2013, 9:14 AM

Bug has been fixed properly.

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

Assignee

Wojciech Szarmacher

Reporter

Lukasz Chudy

Labels

URL

None

Story Points

None

Team

Core

Scheduled For

None

Epic

None

Notify

None

productboard URL

None

Man Day Estimate

None

Components

Fix versions

Priority

Minor
Configure