@@ -, +, @@ --- C4/Accounts.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/C4/Accounts.pm +++ a/C4/Accounts.pm @@ -607,7 +607,7 @@ sub makepartialpayment { . 'description, accounttype, amountoutstanding, itemnumber, manager_id, note) ' . ' VALUES (?, ?, now(), ?, ?, ?, 0, ?, ?, ?)'; - $dbh->do( $insert, undef, $borrowernumber, $nextaccntno, $amount, + $dbh->do( $insert, undef, $borrowernumber, $nextaccntno, -$amount, '', 'Pay', $data->{'itemnumber'}, $manager_id, $payment_note); UpdateStats({ --