use Koha::DateUtils;
use Koha::Holds;
use Koha::Items;
+use Koha::ItemTypes;
use Koha::Libraries;
use Koha::Patrons;
$template->param(multi_hold => $multihold);
my $showallitems = $input->param('showallitems');
-my $itemtypes = GetItemTypes();
+my $itemtypes = { map { $_->{itemtype} => $_ } @{ Koha::ItemTypes->search_with_localization->unblessed } };
# Select borrowers infos
my $findborrower = $input->param('findborrower');