Koha::Accounts - Module for managing payments and fees for patrons
This method allows payments to be made against fees/fines
Koha::Account->new( { patron_id => $borrowernumber } )->pay( { amount => $amount, sip => $sipmode, note => $note, description => $description, library_id => $branchcode, lines => $lines, # Arrayref of Koha::Account::Line objects to pay account_type => $type, # accounttype code offset_type => $offset_type, # offset type code } );
my $balance = $self->balance
Return the balance (sum of amountoutstanding columns)
Kyle M Hall <kyle.m.hall@gmail.com>