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

(-)a/Koha/Account/Line.pm (-3 / +2 lines)
Lines 416-422 sub cancel { Link Here
416
                {
416
                {
417
                    credit_id => $cancellation->accountlines_id,
417
                    credit_id => $cancellation->accountlines_id,
418
                    type      => 'CREATE',
418
                    type      => 'CREATE',
419
                    amount    => $self->amount
419
                    amount    => 0 - $self->amount
420
                }
420
                }
421
            )->store();
421
            )->store();
422
422
Lines 535-541 sub reduce { Link Here
535
                {
535
                {
536
                    credit_id => $reduction->accountlines_id,
536
                    credit_id => $reduction->accountlines_id,
537
                    type      => 'CREATE',
537
                    type      => 'CREATE',
538
                    amount    => $params->{amount}
538
                    amount    => 0 - $params->{amount}
539
                }
539
                }
540
            )->store();
540
            )->store();
541
541
542
- 

Return to bug 22435