@@ -, +, @@ --- Koha/Account/Line.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/Koha/Account/Line.pm +++ a/Koha/Account/Line.pm @@ -417,7 +417,7 @@ sub cancel { { credit_id => $cancellation->accountlines_id, type => 'CREATE', - amount => $self->amount + amount => 0 - $self->amount } )->store(); @@ -536,7 +536,7 @@ sub reduce { { credit_id => $reduction->accountlines_id, type => 'CREATE', - amount => $params->{amount} + amount => 0 - $params->{amount} } )->store(); --