@@ -, +, @@ --- C4/Circulation.pm | 8 ++++---- Koha/{ => Charges}/Fees.pm | 6 +++--- t/db_dependent/Koha/{ => Charges}/Fees.t | 4 ++-- 3 files changed, 9 insertions(+), 9 deletions(-) rename Koha/{ => Charges}/Fees.pm (97%) rename t/db_dependent/Koha/{ => Charges}/Fees.t (97%) --- a/C4/Circulation.pm +++ a/C4/Circulation.pm @@ -59,7 +59,7 @@ use Koha::RefundLostItemFeeRules; 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 ); @@ -716,7 +716,7 @@ sub CanBookBeIssued { # So issuingimpossible should be ok. } - my $fees = Koha::Fees->new( + my $fees = Koha::Charges::Fees->new( { patron => $patron, library => $library, @@ -1347,7 +1347,7 @@ sub AddIssue { 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, @@ -2893,7 +2893,7 @@ sub AddRenewal { } - my $fees = Koha::Fees->new( + my $fees = Koha::Charges::Fees->new( { patron => $patron, library => $library, --- a/Koha/Fees.pm +++ a/Koha/Fees.pm @@ -1,4 +1,4 @@ -package Koha::Fees; +package Koha::Charges::Fees; # Copyright 2018 ByWater Solutions # @@ -27,11 +27,11 @@ use Koha::Exceptions; =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, --- a/t/db_dependent/Koha/Fees.t +++ a/t/db_dependent/Koha/Fees.t @@ -30,7 +30,7 @@ use C4::Calendar; use Koha::DateUtils qw(dt_from_string); BEGIN { - use_ok('Koha::Fees'); + use_ok('Koha::Charges::Fees'); } my $builder = t::lib::TestBuilder->new(); @@ -89,7 +89,7 @@ my $patron = $builder->build_object( 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, --