View | Details | Raw Unified | Return to bug 15906
Collapse All | Expand All

(-)a/C4/Accounts.pm (-2 / +1 lines)
Lines 607-613 sub makepartialpayment { Link Here
607
    .  'description, accounttype, amountoutstanding, itemnumber, manager_id, note) '
607
    .  'description, accounttype, amountoutstanding, itemnumber, manager_id, note) '
608
    . ' VALUES (?, ?, now(), ?, ?, ?, 0, ?, ?, ?)';
608
    . ' VALUES (?, ?, now(), ?, ?, ?, 0, ?, ?, ?)';
609
609
610
    $dbh->do(  $insert, undef, $borrowernumber, $nextaccntno, $amount,
610
    $dbh->do(  $insert, undef, $borrowernumber, $nextaccntno, -$amount,
611
        '', 'Pay', $data->{'itemnumber'}, $manager_id, $payment_note);
611
        '', 'Pay', $data->{'itemnumber'}, $manager_id, $payment_note);
612
612
613
    UpdateStats({
613
    UpdateStats({
614
- 

Return to bug 15906