$logger->info("attempting to forgive overdues on circ " . $circ->id . " with note " . $note);
# get outstanding bills for the circ in question
- my $bills = outstanding_bills_for_circ($e, $circ);
+ my $bills = _outstanding_bills_for_circ($e, $circ);
# Sum any outstanding overdue billings, stopping at the first non-overdue billing
# If a bill is partially paid, change the amount of the bill
# to reflect the unpaid amount, not the original amount.
# -----------------------------------------------------------------
-sub outstanding_bills_for_circ {
- my ($class, $e, $circ) = @_;
+sub _outstanding_bills_for_circ {
+ my ($e, $circ) = @_;
# find all unvoided bills in order
my $bill_search = [