Negative amount of charges after adjusting full repayment

Description

Currently, if you paid any charges on Loan Account and then apply full repayment and adjustment, charges amount is displayed with negative amount.

Repro:
1. Find any disbursed account which doesn't have any payments made.
2. Apply misc fee and misc penalty.
3. Apply payment to repay misc fee and penalty.
4. Apply full repayment.
5. Apply adjustment of full repayment.

Expected result:
Misc fee and penalty have zero amounts.

Actual result:
Misc fee and penalty has negative amount. See attached screenshot.

Environment

Build Date: Tue Jun 12 02:13:03 PDT 2012
Build Number: hudson-head-i-release-archive-3

Assignee

Kamil Kalfas

Reporter

Lukasz Chudy

Labels

None

URL

None

Story Points

None

Team

Core

Scheduled For

None

Epic

None

Notify

None

productboard URL

None

Components

Fix versions

Affects versions

Priority

Major
Configure