Lines 248-262
Link Here
|
248 |
<form action="/cgi-bin/koha/sco/sco-main.pl" method="post"> |
248 |
<form action="/cgi-bin/koha/sco/sco-main.pl" method="post"> |
249 |
<input type="hidden" name="patronid" value="[% patronid %]" /> |
249 |
<input type="hidden" name="patronid" value="[% patronid %]" /> |
250 |
<input type="hidden" name="barcode" value="[% ISSUE.barcode %]" /> |
250 |
<input type="hidden" name="barcode" value="[% ISSUE.barcode %]" /> |
251 |
[% IF ( ISSUE.norenew ) %] |
251 |
[% IF ISSUE.can_be_renewed %] |
252 |
[% IF ( AllowSelfCheckReturns ) %] |
|
|
253 |
<input type="submit" value="Check in item" name="confirm" class="btn return" /> |
254 |
<input type="hidden" name="op" value="returnbook" /> |
255 |
<input type="hidden" name="confirmed" value="" /> |
256 |
[% ELSE %] |
257 |
<span>No renewals allowed</span> |
258 |
[% END %] |
259 |
[% ELSE %] |
260 |
<input type="hidden" name="op" value="checkout" /> |
252 |
<input type="hidden" name="op" value="checkout" /> |
261 |
<input type="hidden" name="confirmed" value="1" /> |
253 |
<input type="hidden" name="confirmed" value="1" /> |
262 |
[% UNLESS ( ISSUE.renew ) %] |
254 |
[% UNLESS ( ISSUE.renew ) %] |
Lines 264-269
Link Here
|
264 |
[% ELSE %] |
256 |
[% ELSE %] |
265 |
<input type="submit" value="Renew item" class="btn renew" /> |
257 |
<input type="submit" value="Renew item" class="btn renew" /> |
266 |
[% END %] |
258 |
[% END %] |
|
|
259 |
[% ELSE %] |
260 |
[% IF ISSUE.renew_error == 'auto_renew' %] |
261 |
<span>This item has been scheduled for automatic renewal and cannot be renewed</span> |
262 |
[% ELSIF ISSUE.renew_error == 'onsite_checkout' %] |
263 |
<span>This is a on-site checkout, it cannot be renewed.</span> |
264 |
[% ELSE %] |
265 |
<span>No renewals allowed</span> |
266 |
[% END %] |
267 |
[% IF AllowSelfCheckReturns %] |
268 |
<input type="submit" value="Check in item" name="confirm" class="btn return" /> |
269 |
<input type="hidden" name="op" value="returnbook" /> |
270 |
<input type="hidden" name="confirmed" value="" /> |
271 |
[% END %] |
267 |
[% END %] |
272 |
[% END %] |
268 |
</form> |
273 |
</form> |
269 |
</td> |
274 |
</td> |