<<

NAME

Koha::Charges::Fees - Module calculating fees in Koha

Class methods

new

Koha::Charges::Fees->new( { patron => $patron, library => $library, item => $item, to_date => $to_dt, [ from_date => $from_dt, ] } );

accumulate_rentalcharge

    my $fee = $self->accumulate_rentalcharge();

    This method calculates the daily/hourly rental fee for a given itemtype for a given
    period of time passed in as a pair of DateTime objects.

patron

my $patron = $fees->patron( $patron );

library

my $library = $fees->library( $library );

item

my $item = $fees->item( $item );

to_date

my $to_date = $fees->to_date( $to_date );

from_date

my $from_date = $fees->from_date( $from_date );

AUTHORS

Kyle M Hall <kyle.m.hall@gmail.com> Martin Renvoize <martin.renvoize@ptfs-europe.com>

<<