use Koha::Account::Lines;
use Koha::Account::Offsets;
use Koha::Config::SysPrefs;
-use Koha::Fees;
+use Koha::Charges::Fees;
use Carp;
use List::MoreUtils qw( uniq any );
use Scalar::Util qw( looks_like_number );
# So issuingimpossible should be ok.
}
- my $fees = Koha::Fees->new(
+ my $fees = Koha::Charges::Fees->new(
{
patron => $patron,
library => $library,
my $patron = Koha::Patrons->find( $borrower );
my $library = Koha::Libraries->find( $branch );
- my $fees = Koha::Fees->new(
+ my $fees = Koha::Charges::Fees->new(
{
patron => $patron,
library => $library,
}
- my $fees = Koha::Fees->new(
+ my $fees = Koha::Charges::Fees->new(
{
patron => $patron,
library => $library,
-package Koha::Fees;
+package Koha::Charges::Fees;
# Copyright 2018 ByWater Solutions
#
=head1 NAME
-Koha::Feess - Module calculating fees in Koha
+Koha::Charges::Fees - Module calculating fees in Koha
=head3 new
-Koha::Fees->new(
+Koha::Charges::Fees->new(
{
patron => $patron,
library => $library,
use Koha::DateUtils qw(dt_from_string);
BEGIN {
- use_ok('Koha::Fees');
+ use_ok('Koha::Charges::Fees');
}
my $builder = t::lib::TestBuilder->new();
my $dt_from = dt_from_string();
my $dt_to = dt_from_string()->add( days => 6 );
-my $fees = Koha::Fees->new(
+my $fees = Koha::Charges::Fees->new(
{
patron => $patron,
library => $library,