use C4::Context;
use C4::Output;
use C4::Koha;
use Koha::Borrowers;
use Koha::Patrons;
use Koha::Items;
use Koha::Libraries;
use Koha::LibraryCategories;
},
}
)->count;
my $patrons_count = Koha::Borrowers->search( { branchcode => $branchcode, } )->count;
my $patrons_count = Koha::Patrons->search( { branchcode => $branchcode, } )->count;
if ( $items_count or $patrons_count ) {
push @messages,
-