use C4::Members;
use C4::Branch;
use C4::Category;
-use Koha::Borrower::Modifications;
+use Koha::Patron::Modifications;
my $query = new CGI;
);
my $branch =
- C4::Context->preference("IndependentBranches")
+ ( C4::Context->preference("IndependentBranchesPatronModifications")
+ || C4::Context->preference("IndependentBranches") )
&& !$flags->{'superlibrarian'}
? C4::Context->userenv()->{'branch'}
: undef;
my $pending_modifications =
- Koha::Borrower::Modifications->GetPendingModifications($branch);
+ Koha::Patron::Modifications->GetPendingModifications($branch);
my $borrowers;
foreach my $pm (@$pending_modifications) {