Koha::Charges::Fees - Module calculating fees in Koha
Koha::Charges::Fees->new( { patron => $patron, library => $library, item => $item, to_date => $to_dt, [ from_date => $from_dt, ] } );
my $fee = $self->accumulate_rentalcharge(); This method calculates the daily rental fee for a given itemtype for a given period of time passed in as a pair of DateTime objects.
my $patron = $fees->patron( $patron );
my $library = $fees->library( $library );
my $item = $fees->item( $item );
my $to_date = $fees->to_date( $to_date );
my $from_date = $fees->from_date( $from_date );
Kyle M Hall <kyle.m.hall@gmail.com>