Bug 8739 - Partial Fine Payments Saving Amount Paid Incorrectly
Signed-off-by: Owen Leonard <oleonard@myacpl.org> Confirmed using test plan that the display is corrected. Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
This commit is contained in:
parent
761ed98690
commit
5954631aea
1 changed files with 1 additions and 1 deletions
|
@ -760,7 +760,7 @@ sub makepartialpayment {
|
|||
. 'description, accounttype, amountoutstanding, itemnumber, manager_id) '
|
||||
. ' VALUES (?, ?, now(), ?, ?, ?, 0, ?, ?)';
|
||||
|
||||
$dbh->do( $insert, undef, $borrowernumber, $nextaccntno, $amount,
|
||||
$dbh->do( $insert, undef, $borrowernumber, $nextaccntno, 0 - $amount,
|
||||
"Payment, thanks - $user", 'Pay', $data->{'itemnumber'}, $manager_id);
|
||||
|
||||
UpdateStats( $user, 'payment', $amount, '', '', '', $borrowernumber, $accountno );
|
||||
|
|
Loading…
Reference in a new issue