Create Transactions functionality for Group Loan account

Description

There is a need to add Transactions functionality for Group Loan account.

There should be:
1. Apply payment
2. Apply charges
3. Apply adjustment
4. Repay Loan

Environment

None

Activity

Show:
Lukasz Chudy
January 9, 2013, 1:47 PM

Currently, if I repay one member loan account so that it is closed, then I cannot apply payment on Group Loan account because error with red dot appears.

Moreover, if one of the members account is closed then on 'Divide payment' page, amount is still displayed as divided.

Repro:
1. Create new GLIM loan account with two members.
2. Approve and disburse loan
3. Apply payment on member account to close it.
4. On Group Loan account, try to apply payment.

Expected result:
If you want to apply payment with 200 then the whole 200 is applied to second not closed member loan account.

Actual result:
If you want to apply payment with 200 then on 'Divide payment' page, amount is still divided and shows e.g. 150. On the 'Review transaction' page, amount is again 200 but after you click Submit button, error with red dot appears.

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

Wojciech Szarmacher
January 14, 2013, 8:58 AM

Fixed in 3c611162bb9df71381fc5919b744244b098c3bb9

Lukasz Chudy
January 14, 2013, 12:22 PM

Now, amount is properly divided.

Build Date: Mon Jan 14 01:36:02 PST 2013
Build Number: hudson-head-master-archive-1261

Natalia Szpręga
February 13, 2013, 10:15 AM

When repaying a loan the type of the repayment is not being inserted in the database.
Select any type of repayment other than cash and click submit, then check the database -> account_payment table you will see that the payment_type_id is 1 which is cash
It always takes cash no matter which type has been entered.
Build Date Mon Feb 11 12:44:36 PST 2013
Build Number hudson-head-master-archive-1322

Natalia Szpręga
February 14, 2013, 10:38 AM

Task has been added properly.
Build Date Wed Feb 13 08:39:15 PST 2013
Build Number hudson-head-master-archive-1330

Assignee

Łukasz Gąsior

Reporter

Lukasz Chudy

Labels

Implementation Priority

None

URL

None

Team

Core

Scheduled For

None

productboard URL

None

Man Day Estimate

None

Components

Fix versions

Priority

Minor
Configure