[% USE Koha %] [% USE KohaDates %] [% INCLUDE 'doc-head-open.inc' %]
No item matches this barcode
[% ELSIF error == "no_checkout" %][% item.biblio.title %] [% item.biblioitem.subtitle %] ( [% item.barcode %] ) is not checked out to a patron.
[% ELSIF error == "too_many" %][% item.biblio.title %] [% item.biblioitem.subtitle %] ( [% item.barcode %] ) has been renewed the maximum number of times by [% borrower.firstname %] [% borrower.surname %] ( [% borrower.cardnumber %] )
[% IF Koha.Preference('AllowRenewalLimitOverride') %] [% END %] [% ELSIF error == "too_soon" %][% item.biblio.title %] [% item.biblioitem.subtitle %] ( [% item.barcode %] ) cannot be renewed before [% soonestrenewdate | $KohaDates %].
[% IF Koha.Preference('AllowRenewalLimitOverride') %] [% END %] [% ELSIF error == "auto_too_soon" %][% item.biblio.title %] [% item.biblioitem.subtitle %] ( [% item.barcode %] ) has been scheduled for automatic renewal and cannot be renewed before [% soonestrenewdate | $KohaDates %].
[% IF Koha.Preference('AllowRenewalLimitOverride') %] [% END %] [% ELSIF error == "auto_renew" %][% item.biblio.title %] [% item.biblioitem.subtitle %] ( [% item.barcode %] ) has been scheduled for automatic renewal.
[% IF Koha.Preference('AllowRenewalLimitOverride') %] [% END %] [% ELSIF error == "on_reserve" %]This item is on hold for another patron.
[% ELSIF error == "patron_restricted" %][% borrower.firstname %] [% borrower.surname %] ( [% borrower.cardnumber %] ) is currently restricted.
[% ELSE %] [% error %] [% END %]