Cannot renew:
[% IF error == "no_item" %]No item matches this barcode
[% ELSIF error == "no_checkout" %][% item.biblio.title | html %] [% item.biblioitem.subtitle | html %] ( [% item.barcode | html %] ) is not checked out to a patron.
[% ELSIF error == "too_many" %][% item.biblio.title | html %] [% item.biblioitem.subtitle | html %] ( [% item.barcode | html %] ) has been renewed the maximum number of times by [% borrower.firstname | html %] [% borrower.surname | html %] ( [% borrower.cardnumber | html %] )
[% IF Koha.Preference('AllowRenewalLimitOverride') %] [% END %] [% ELSIF error == "too_soon" %][% item.biblio.title | html %] [% item.biblioitem.subtitle | html %] ( [% item.barcode | html %] ) cannot be renewed before [% soonestrenewdate | $KohaDates %].
[% IF Koha.Preference('AllowRenewalLimitOverride') %] [% END %] [% ELSIF error == "auto_too_soon" %][% item.biblio.title | html %] [% item.biblioitem.subtitle | html %] ( [% item.barcode | html %] ) has been scheduled for automatic renewal and cannot be renewed before [% soonestrenewdate | $KohaDates %].
[% IF Koha.Preference('AllowRenewalLimitOverride') %] [% END %] [% ELSIF error == "auto_too_late" %][% item.biblio.title | html %] [% item.biblioitem.subtitle | html %] ( [% item.barcode | html %] ) has been scheduled for automatic renewal and cannot be renewed anymore since [% latestautorenewdate | $KohaDates %].
[% IF Koha.Preference('AllowRenewalLimitOverride') %] [% END %] [% ELSIF error == "auto_account_expired" %][% item.biblio.title | html %] [% item.biblioitem.subtitle | html %] ( [% item.barcode | html %] ) has been scheduled for automatic renewal and cannot be renewed because the patron's account is expired
[% IF Koha.Preference('AllowRenewalLimitOverride') %] [% END %] [% ELSIF error == "auto_renew" or error == "auto_too_much_oweing" %][% item.biblio.title | html %] [% item.biblioitem.subtitle | html %] ( [% item.barcode | html %] ) 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 | html %] [% borrower.surname | html %] ( [% borrower.cardnumber | html %] ) is currently restricted.
[% ELSIF error == "item_denied_renewal" %]Item is not allowed renewal.
[% ELSE %] [% error | html %] [% END %]