4 [% INCLUDE 'doc-head-open.inc' %]
6 <title>Koha › Circulation › Renew [% title |html %]</title>
8 [% INCLUDE 'doc-head-close.inc' %]
11 <script type="text/javascript">
13 $( document ).ready(function() {
22 <body id="circ_renew" class="circ">
24 [% INCLUDE 'header.inc' %]
25 [% INCLUDE 'circ-search.inc' %]
27 <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>
29 <div id="doc" class="yui-t7">
33 <div class="dialog alert">
34 <h3>Cannot renew:</h3>
36 [% IF error == "no_item" %]
38 <p>No item matches this barcode</p>
40 [% ELSIF error == "no_checkout" %]
42 <p><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% item.biblionumber %]">[% item.biblio.title %] [% item.biblioitem.subtitle %]</a> ( <a href="/cgi-bin/koha/catalogue/moredetail.pl?itemnumber=[% item.itemnumber %]&biblionumber=[% item.biblionumber %]&bi=[% item.biblioitemnumber.biblioitemnumber %]#item[% item.itemnumber %]">[% item.barcode %]</a> ) is not checked out to a patron.</p>
44 [% ELSIF error == "too_many" %]
46 <p>[% item.biblio.title %] [% item.biblioitem.subtitle %] ( [% item.barcode %] ) has been renewed the maximum number of times by [% borrower.firstname %] [% borrower.surname %] ( <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrower.borrowernumber %]"> [% borrower.cardnumber %] </a> )</p>
48 [% IF Koha.Preference('AllowRenewalLimitOverride') %]
49 <form method="post" action="/cgi-bin/koha/circ/renew.pl">
50 <input type="hidden" name="barcode" value="[% item.barcode %]"/>
51 <input type="hidden" name="override_limit" value="1" />
52 <input type="submit" class="approve" value="Override limit and renew" />
56 [% ELSIF error == "too_soon" %]
58 <p>[% item.biblio.title %] [% item.biblioitem.subtitle %] ( [% item.barcode %] ) cannot be renewed before [% soonestrenewdate | $KohaDates %]. </p>
60 [% IF Koha.Preference('AllowRenewalLimitOverride') %]
61 <form method="post" action="/cgi-bin/koha/circ/renew.pl">
62 <input type="hidden" name="barcode" value="[% item.barcode %]"/>
63 <input type="hidden" name="override_limit" value="1" />
64 <input type="submit" class="approve" value="Override and renew" />
68 [% ELSIF error == "auto_too_soon" %]
70 <p>[% item.biblio.title %] [% item.biblioitem.subtitle %] ( [% item.barcode %] ) has been scheduled for automatic renewal and cannot be renewed before [% soonestrenewdate | $KohaDates %]. </p>
72 [% IF Koha.Preference('AllowRenewalLimitOverride') %]
73 <form method="post" action="/cgi-bin/koha/circ/renew.pl">
74 <input type="hidden" name="barcode" value="[% item.barcode %]"/>
75 <input type="hidden" name="override_limit" value="1" />
76 <input type="submit" class="approve" value="Override and renew" />
80 [% ELSIF error == "auto_renew" %]
82 <p>[% item.biblio.title %] [% item.biblioitem.subtitle %] ( [% item.barcode %] ) has been scheduled for automatic renewal. </p>
84 [% IF Koha.Preference('AllowRenewalLimitOverride') %]
85 <form method="post" action="/cgi-bin/koha/circ/renew.pl">
86 <input type="hidden" name="barcode" value="[% item.barcode %]"/>
87 <input type="hidden" name="override_limit" value="1" />
88 <input type="submit" class="approve" value="Override limit and renew" />
92 [% ELSIF error == "on_reserve" %]
94 <p>This item is on hold for another patron.</p>
96 <form method="post" action="/cgi-bin/koha/circ/renew.pl">
97 <input type="hidden" name="barcode" value="[% item.barcode %]"/>
98 <input type="hidden" name="override_limit" value="1" />
99 <input type="hidden" name="override_holds" value="1" />
100 <input type="submit" class="approve" value="Override and renew" />
103 [% ELSIF error == "patron_restricted" %]
105 <p>[% borrower.firstname %] [% borrower.surname %] ( <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrower.borrowernumber %]"> [% borrower.cardnumber %] </a> ) is currently restricted.</p>
113 <form method="get" action="/cgi-bin/koha/circ/renew.pl">
114 <input type="submit" class="deny" value="Ignore and continue" />
120 <div class="dialog message">
121 <h3>Item renewed:</h3>
123 <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% item.biblionumber %]">[% item.biblio.title %] [% item.biblioitem.subtitle %]</a>
124 ( <a href="/cgi-bin/koha/catalogue/moredetail.pl?itemnumber=[% item.itemnumber %]&biblionumber=[% item.biblionumber %]&bi=[% item.biblioitemnumber.biblioitemnumber %]#item[% item.itemnumber %]">[% item.barcode %]</a> )
126 [% borrower.firstname %] [% borrower.surname %] ( <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrower.borrowernumber %]"> [% borrower.cardnumber %] </a> )
127 now due on [% date_due | $KohaDates %]
136 <form method="post" action="/cgi-bin/koha/circ/renew.pl" autocomplete="off" >
138 <div class="yui-u first">
140 <legend>Renew</legend>
142 <label for="barcode">Enter item barcode: </label>
144 <input name="barcode" id="barcode" size="14" class="focus"/>
146 <input type="submit" class="submit" value="Submit" />
159 [% INCLUDE 'intranet-bottom.inc' %]