Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Joonas Kylmälä <joonas.kylmala@iki.fi>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
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 );
}