use Koha::Biblios;
use Koha::Checkouts;
use Koha::I18N qw(__);
use Koha::Items;
use Koha::Libraries;
use Koha::Patrons;
my ($itemnumber) = @_;
my $item = Koha::Items->find($itemnumber);
use Koha::I18N;
unless ( $item ) {
return ( undef, __('unknown'), __('Error: could not retrieve availability for this ID'), undef );
}
-