use C4::Koha;
use MARC::Record;
use C4::Branch;
-use C4::ItemType;
+
+use Koha::ItemTypes;
my $builder = sub {
my ( $params ) = @_;
}
);
- my @itemtypes = C4::ItemType->all;
+ my @itemtypes = Koha::ItemTypes->search;
$template->param(
itypeloop => \@itemtypes,