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

Cannot renew:

[% IF error == "no_item" %]

No item matches this barcode

[% ELSIF error == "no_checkout" %]

[% INCLUDE 'biblio-title.inc' biblio=item.biblio link = 1 %] ( [% item.barcode | html %] ) is not checked out to a patron.

[% ELSIF error == "too_many" %]

[% INCLUDE 'biblio-title.inc' biblio=item.biblio link = 1 %] ( [% 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_unseen" %]

[% INCLUDE 'biblio-title.inc' biblio=item.biblio %] ( [% item.barcode | html %] ) has been renewed the maximum number of consecutive times without being seen by the library )

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

[% INCLUDE 'biblio-title.inc' biblio=item.biblio link = 1 %] ( [% item.barcode | html %] ) cannot be renewed before [% soonestrenewdate | $KohaDates %].

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

[% INCLUDE 'biblio-title.inc' biblio=item.biblio link = 1 %] ( [% 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" %]

[% INCLUDE 'biblio-title.inc' biblio=item.biblio link = 1 %] ( [% 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" %]

[% INCLUDE 'biblio-title.inc' biblio=item.biblio link = 1 %] ( [% 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" %]

[% INCLUDE 'biblio-title.inc' biblio=item.biblio link = 1 %] ( [% item.barcode | html %] ) has been scheduled for automatic renewal.

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

[% INCLUDE 'biblio-title.inc' biblio=item.biblio link = 1 %] ( [% item.barcode | html %] ): 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.

[% ELSIF error == "onsite_checkout" %]

Item cannot be renewed because it's an onsite checkout

[% ELSIF error == 'recalled' %]

This item has been recalled.

[% ELSE %] [% error | html %] [% END %]
[% END %] [% IF date_due %]

Item renewed:

[% INCLUDE 'biblio-title.inc' biblio=item.biblio link = 1 %] ( [% item.barcode | html %] ) renewed for [% borrower.firstname | html %] [% borrower.surname | html %] ( [% borrower.cardnumber | html %] ) now due on [% date_due | $KohaDates %]

[% END %] [% UNLESS error %]

Renew

[% IF Koha.Preference('UnseenRenewals') %]
[% ELSE %]
[% END %]
[% END %] [% IF Koha.Preference('CircSidebar') %]
[% END %]
[% MACRO jsinclude BLOCK %] [% INCLUDE 'calendar.inc' %] [% IF error %] [% END %] [% END %] [% INCLUDE 'intranet-bottom.inc' %]