my $all_items;
if ( $holds->count ) {
foreach my $item ( $holds->get_items_that_can_fill->as_list ) {
push @{ $all_items->{ $item->biblionumber } }, $item;
my $pending_recalls = Koha::Recalls->search({ item_id => $item->id, status => [ 'waiting', 'in_transit' ] })->count;
unless ( $pending_recalls->count > 0 ) {
}
-