Koha::Account::Lines - Koha Account Line Object set class
my $lines = Koha::Account::Lines->search({ ... }); my $total = $lines->total_outstanding;
Returns the sum of the outstanding amounts of the resultset. If the resultset is empty it returns 0.
my $lines = Koha::Account::Lines->search({ ... }); my $total = $lines->total;
Returns the sum of the amounts of the resultset. If the resultset is empty it returns 0.
my $lines = Koha::Account::Lines->search({ ... }); my $credits_total = $lines->credits_total;
Returns the sum of the amounts of the resultset. If the resultset is empty it returns 0.
my $lines = Koha::Account::Lines->search({ ... }); my $debits_total = $lines->debits_total;
Returns the sum of the amounts of the resultset. If the resultset is empty it returns 0.