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 %]">[% item.biblio.title %] [% item.biblioitem.subtitle %]</a> ( <a href="/cgi-bin/koha/catalogue/moredetail.pl?itemnumber=[% item.itemnumber %]&biblionumber=[% item.biblio.biblionumber %]&bi=[% item.biblioitemnumber.biblioitemnumber %]#item[% item.itemnumber %]">[% item.barcode %]</a> ) is not checked out to a patron.</p>
33 [% ELSIF error == "too_many" %]
35 <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>
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 %]"/>
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 %] [% item.biblioitem.subtitle %] ( [% item.barcode %] ) 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 %]"/>
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 %] [% item.biblioitem.subtitle %] ( [% item.barcode %] ) 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 %]"/>
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 %] [% item.biblioitem.subtitle %] ( [% item.barcode %] ) 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 %]"/>
76 <input type="hidden" name="override_limit" value="1" />
77 <input type="submit" class="approve" value="Override and renew" />
81 [% ELSIF error == "auto_renew" or error == "auto_too_much_oweing" %]
83 <p>[% item.biblio.title %] [% item.biblioitem.subtitle %] ( [% item.barcode %] ) has been scheduled for automatic renewal. </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 %]"/>
88 <input type="hidden" name="override_limit" value="1" />
89 <button type="submit" class="approve"><i class="fa fa-check"></i> Override limit and renew</button>
93 [% ELSIF error == "on_reserve" %]
95 <p>This item is on hold for another patron.</p>
97 <form method="post" action="/cgi-bin/koha/circ/renew.pl">
98 <input type="hidden" name="barcode" value="[% item.barcode %]"/>
99 <input type="hidden" name="override_limit" value="1" />
100 <input type="hidden" name="override_holds" value="1" />
101 <button type="submit" class="approve"><i class="fa fa-check"></i> Override and renew</button>
104 [% ELSIF error == "patron_restricted" %]
106 <p>[% borrower.firstname %] [% borrower.surname %] ( <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrower.borrowernumber %]"> [% borrower.cardnumber %] </a> ) is currently restricted.</p>
114 <form method="get" action="/cgi-bin/koha/circ/renew.pl">
115 <button type="submit" class="deny"><i class="fa fa-times"></i> Continue without renewing</button>
121 <div class="dialog message">
122 <h3>Item renewed:</h3>
124 <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% item.biblio.biblionumber %]">[% item.biblio.title %] [% item.biblioitem.subtitle %]</a>
125 ( <a href="/cgi-bin/koha/catalogue/moredetail.pl?itemnumber=[% item.itemnumber %]&biblionumber=[% item.biblio.biblionumber %]&bi=[% item.biblioitemnumber.biblioitemnumber %]#item[% item.itemnumber %]">[% item.barcode %]</a> )
127 [% borrower.firstname %] [% borrower.surname %] ( <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrower.borrowernumber %]"> [% borrower.cardnumber %] </a> )
128 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" />
156 [% IF Koha.Preference('CircSidebar') %]
159 <div class="yui-b noprint">
160 [% INCLUDE 'circ-nav.inc' %]
165 [% MACRO jsinclude BLOCK %]
167 <script type="text/javascript">
168 $( document ).ready(function() {
175 [% INCLUDE 'intranet-bottom.inc' %]