Mihaly Dallos created FINERACT-1889: ---------------------------------------
Summary: Principal portion allocation for Chargeback is wrong for partial chargebacks. Key: FINERACT-1889 URL: https://issues.apache.org/jira/browse/FINERACT-1889 Project: Apache Fineract Issue Type: Bug Reporter: Mihaly Dallos Attachments: 354b64e0-07fe-4001-9340-e1c27eabec46.png If partial chargeback is done on a repayment. Principal portion allocation for chargeback transaction is wrong. Tested for overpaid scenario as below. *Steps to reproduce:* # Disburse loan amount 1000 # make repayment 500 (repayment 1) # make repayment 300 (repayment 2) # make repayment 300 → loan is overpaid (repayment 3) # Chargeback amount 300 on second repayment. loan is active # Partial chargeback of 300 on repayment 1. *Actual result:* Principal portion 400 is wrong. !354b64e0-07fe-4001-9340-e1c27eabec46.png! *Expected result:* Principal portion should be 300. -- This message was sent by Atlassian Jira (v8.20.10#820010)