[% USE Koha %] [% USE KohaDates %] [% INCLUDE 'doc-head-open.inc' %] Koha › Circulation › Renew [% title |html %] [% INCLUDE 'doc-head-close.inc' %] [% IF error %] [% END %] [% INCLUDE 'header.inc' %] [% INCLUDE 'circ-search.inc' %] [% IF Koha.Preference('CircSidebar') %]
[% ELSE %]
[% END %]
[% IF Koha.Preference('CircSidebar') %]
[% END %] [% IF error %]

Cannot renew:

[% IF error == "no_item" %]

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_too_late" %]

[% item.biblio.title %] [% item.biblioitem.subtitle %] ( [% item.barcode %] ) has been scheduled for automatic renewal and cannot be renewed anymore since [% latestautorenewdate | $KohaDates %].

[% IF Koha.Preference('AllowRenewalLimitOverride') %]
[% END %] [% ELSIF error == "auto_renew" or error == "auto_too_much_oweing" %]

[% 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 %]
[% END %] [% IF date_due %]

Item renewed:

[% item.biblio.title %] [% item.biblioitem.subtitle %] ( [% item.barcode %] ) renewed for [% borrower.firstname %] [% borrower.surname %] ( [% borrower.cardnumber %] ) now due on [% date_due | $KohaDates %]

[% END %]
[% UNLESS error %]
Renew
[% END %]
[% IF Koha.Preference('CircSidebar') %]
[% INCLUDE 'circ-nav.inc' %]
[% END %]
[% INCLUDE 'intranet-bottom.inc' %]