4 [% INCLUDE 'doc-head-open.inc' %]
6 <title>Koha › Circulation › Renew [% title | html %]</title>
7 [% INCLUDE 'doc-head-close.inc' %]
10 <body id="circ_renew" class="circ">
12 [% INCLUDE 'header.inc' %]
13 [% INCLUDE 'circ-search.inc' %]
15 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a> › Renew</div>
17 [% IF Koha.Preference('CircSidebar') %]<div id="doc3" class="yui-t2">[% ELSE %]<div id="doc" class="yui-t7">[% END %]
20 [% IF Koha.Preference('CircSidebar') %]<div class="yui-b">[% END %]
22 <div class="dialog alert">
23 <h3>Cannot renew:</h3>
25 [% IF error == "no_item" %]
27 <p>No item matches this barcode</p>
29 [% ELSIF error == "no_checkout" %]
31 <p><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% item.biblio.biblionumber | html %]">[% item.biblio.title | html %] [% item.biblioitem.subtitle | html %]</a> ( <a href="/cgi-bin/koha/catalogue/moredetail.pl?itemnumber=[% item.itemnumber | html %]&biblionumber=[% item.biblio.biblionumber | html %]&bi=[% item.biblioitemnumber.biblioitemnumber | html %]#item[% item.itemnumber | html %]">[% item.barcode | html %]</a> ) is not checked out to a patron.</p>
33 [% ELSIF error == "too_many" %]
35 <p>[% 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 %] ( <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrower.borrowernumber | html %]"> [% borrower.cardnumber | html %] </a> )</p>
37 [% IF Koha.Preference('AllowRenewalLimitOverride') %]
38 <form method="post" action="/cgi-bin/koha/circ/renew.pl">
39 <input type="hidden" name="barcode" value="[% item.barcode | html %]"/>
40 <input type="hidden" name="override_limit" value="1" />
41 <button type="submit" class="approve"><i class="fa fa-check"></i> Override limit and renew</button>
45 [% ELSIF error == "too_soon" %]
47 <p>[% item.biblio.title | html %] [% item.biblioitem.subtitle | html %] ( [% item.barcode | html %] ) cannot be renewed before [% soonestrenewdate | $KohaDates %]. </p>
49 [% IF Koha.Preference('AllowRenewalLimitOverride') %]
50 <form method="post" action="/cgi-bin/koha/circ/renew.pl">
51 <input type="hidden" name="barcode" value="[% item.barcode | html %]"/>
52 <input type="hidden" name="override_limit" value="1" />
53 <button type="submit" class="approve"><i class="fa fa-check"></i> Override and renew</button>
57 [% ELSIF error == "auto_too_soon" %]
59 <p>[% item.biblio.title | html %] [% item.biblioitem.subtitle | html %] ( [% item.barcode | html %] ) has been scheduled for automatic renewal and cannot be renewed before [% soonestrenewdate | $KohaDates %]. </p>
61 [% IF Koha.Preference('AllowRenewalLimitOverride') %]
62 <form method="post" action="/cgi-bin/koha/circ/renew.pl">
63 <input type="hidden" name="barcode" value="[% item.barcode | html %]"/>
64 <input type="hidden" name="override_limit" value="1" />
65 <button type="submit" class="approve"><i class="fa fa-check"></i> Override and renew</button>
69 [% ELSIF error == "auto_too_late" %]
71 <p>[% 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 %]. </p>
73 [% IF Koha.Preference('AllowRenewalLimitOverride') %]
74 <form method="post" action="/cgi-bin/koha/circ/renew.pl">
75 <input type="hidden" name="barcode" value="[% item.barcode | html %]"/>
76 <input type="hidden" name="override_limit" value="1" />
77 <input type="submit" class="approve" value="Override and renew" />
81 [% ELSIF error == "auto_account_expired" %]
83 <p>[% 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</p>
85 [% IF Koha.Preference('AllowRenewalLimitOverride') %]
86 <form method="post" action="/cgi-bin/koha/circ/renew.pl">
87 <input type="hidden" name="barcode" value="[% item.barcode | html %]"/>
88 <input type="hidden" name="override_limit" value="1" />
89 <input type="submit" class="approve" value="Override and renew" />
93 [% ELSIF error == "auto_renew" or error == "auto_too_much_oweing" %]
95 <p>[% item.biblio.title | html %] [% item.biblioitem.subtitle | html %] ( [% item.barcode | html %] ) has been scheduled for automatic renewal. </p>
97 [% IF Koha.Preference('AllowRenewalLimitOverride') %]
98 <form method="post" action="/cgi-bin/koha/circ/renew.pl">
99 <input type="hidden" name="barcode" value="[% item.barcode | html %]"/>
100 <input type="hidden" name="override_limit" value="1" />
101 <button type="submit" class="approve"><i class="fa fa-check"></i> Override limit and renew</button>
105 [% ELSIF error == "on_reserve" %]
107 <p>This item is on hold for another patron.</p>
109 <form method="post" action="/cgi-bin/koha/circ/renew.pl">
110 <input type="hidden" name="barcode" value="[% item.barcode | html %]"/>
111 <input type="hidden" name="override_limit" value="1" />
112 <input type="hidden" name="override_holds" value="1" />
113 <button type="submit" class="approve"><i class="fa fa-check"></i> Override and renew</button>
116 [% ELSIF error == "patron_restricted" %]
118 <p>[% borrower.firstname | html %] [% borrower.surname | html %] ( <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrower.borrowernumber | html %]"> [% borrower.cardnumber | html %] </a> ) is currently restricted.</p>
126 <form method="get" action="/cgi-bin/koha/circ/renew.pl">
127 <button type="submit" class="deny"><i class="fa fa-times"></i> Continue without renewing</button>
133 <div class="dialog message">
134 <h3>Item renewed:</h3>
136 <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% item.biblio.biblionumber | html %]">[% item.biblio.title | html %] [% item.biblioitem.subtitle | html %]</a>
137 ( <a href="/cgi-bin/koha/catalogue/moredetail.pl?itemnumber=[% item.itemnumber | html %]&biblionumber=[% item.biblio.biblionumber | html %]&bi=[% item.biblioitemnumber.biblioitemnumber | html %]#item[% item.itemnumber | html %]">[% item.barcode | html %]</a> )
139 [% borrower.firstname | html %] [% borrower.surname | html %] ( <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrower.borrowernumber | html %]"> [% borrower.cardnumber | html %] </a> )
140 now due on [% date_due | $KohaDates %]
148 <form method="post" action="/cgi-bin/koha/circ/renew.pl" autocomplete="off" >
150 <div class="yui-u first">
152 <legend>Renew</legend>
154 <label for="barcode">Enter item barcode: </label>
156 <input name="barcode" id="barcode" size="14" class="focus"/>
158 <input type="submit" class="submit" value="Submit" />
168 [% IF Koha.Preference('CircSidebar') %]
171 <div class="yui-b noprint">
172 [% INCLUDE 'circ-nav.inc' %]
177 [% MACRO jsinclude BLOCK %]
179 <script type="text/javascript">
180 $( document ).ready(function() {
187 [% INCLUDE 'intranet-bottom.inc' %]