Over/Underpayment doesnt calculated properly from Bank Statment/Create Payment process

Description

If user enter creates payment for invoice and payed amount less or more then invoice grand total, system calculates automatically under/over payment. This is true when invoice is payed multiple times e.g. 1 invoice 3 payments.

problem: invoices payed partially - over/underpayment is not calculated properly.

this ticket entitled to implement same logic from partial payments to Bank Statement>>Create Payment Process.

example
invoice value 160 USD
payment 1 = 100 USD outstanding amt=60
payment 2 = 30 USD outstanding amt = 30
payment 3 = 30 USD outstanding amt = 0

Environment

latest 3.0

Assignee

Michal Zilincar

Reporter

Norbert Bede

Labels

None

Tested By

None

Priority

Major
Configure