X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=Koha%2FAccount%2FLine.pm;h=aba318317d5d109ed04b82757dfe80dac627ccfc;hb=1a25f1094d2d34163108b07b7486905cfbaac76f;hp=d2ac161e823bc6b0ffa3bad4a0003769caedd5b2;hpb=0db7b7a1c8e3c7d01971c93b311d2dc42d13c9cd;p=koha-ffzg.git diff --git a/Koha/Account/Line.pm b/Koha/Account/Line.pm index d2ac161e82..aba318317d 100644 --- a/Koha/Account/Line.pm +++ b/Koha/Account/Line.pm @@ -71,7 +71,11 @@ sub checkout { =head3 void -$payment_accountline->void(); + $payment_accountline->void(); + +Used to 'void' (or reverse) a payment/credit. It will role back any offsets +created by the application of this credit upon any debits and mark the credit +as 'void' by updating it's status to "VOID". =cut @@ -133,7 +137,7 @@ sub void { $self->set( { - accounttype => 'VOID', + status => 'VOID', amountoutstanding => 0, amount => 0, }