|
Lines 334-340
Link Here
|
| 334 |
<th>Barcode</th> |
334 |
<th>Barcode</th> |
| 335 |
[% END %] |
335 |
[% END %] |
| 336 |
<th>Call number</th> |
336 |
<th>Call number</th> |
| 337 |
[% IF ( OpacRenewalAllowed && !( logged_in_user.is_expired && logged_in_user.category.effective_BlockExpiredPatronOpacActions ) ) %] |
337 |
[% IF ( OpacRenewalAllowed && !( logged_in_user.is_expired && logged_in_user.category.effective_BlockExpiredPatronOpacActions_contains('renew') ) ) %] |
| 338 |
<th>Renew</th> |
338 |
<th>Renew</th> |
| 339 |
[% END %] |
339 |
[% END %] |
| 340 |
[% IF ( OPACFinesTab ) %] |
340 |
[% IF ( OPACFinesTab ) %] |
|
Lines 436-442
Link Here
|
| 436 |
<span class="tdlabel">Call number:</span> |
436 |
<span class="tdlabel">Call number:</span> |
| 437 |
[% ISSUE.itemcallnumber | html %] |
437 |
[% ISSUE.itemcallnumber | html %] |
| 438 |
</td> |
438 |
</td> |
| 439 |
[% IF ( OpacRenewalAllowed && !( logged_in_user.is_expired && logged_in_user.category.effective_BlockExpiredPatronOpacActions ) ) %] |
439 |
[% IF ( OpacRenewalAllowed && !( logged_in_user.is_expired && logged_in_user.category.effective_BlockExpiredPatronOpacActions_contains('renew') ) ) %] |
| 440 |
[% IF ( ISSUE.status && canrenew ) %] |
440 |
[% IF ( ISSUE.status && canrenew ) %] |
| 441 |
<td class="renew" data-order="[% ISSUE.renewsleft | html %]"> |
441 |
<td class="renew" data-order="[% ISSUE.renewsleft | html %]"> |
| 442 |
[% ELSE %] |
442 |
[% ELSE %] |
|
Lines 542-555
Link Here
|
| 542 |
[% END # /FOREACH ISSUES %] |
542 |
[% END # /FOREACH ISSUES %] |
| 543 |
</tbody> |
543 |
</tbody> |
| 544 |
</table> |
544 |
</table> |
| 545 |
[% IF ( canrenew && !userdebarred && OpacRenewalAllowed && !( logged_in_user.is_expired && logged_in_user.category.effective_BlockExpiredPatronOpacActions ) ) %] |
545 |
[% IF ( canrenew && !userdebarred && OpacRenewalAllowed && !( logged_in_user.is_expired && logged_in_user.category.effective_BlockExpiredPatronOpacActions_contains('renew') ) ) %] |
| 546 |
<input type="submit" class="btn btn-primary" value="Renew selected" /> |
546 |
<input type="submit" class="btn btn-primary" value="Renew selected" /> |
| 547 |
<input type="hidden" name="op" value="cud-renew" /> |
547 |
<input type="hidden" name="op" value="cud-renew" /> |
| 548 |
<button type="button" id="renewall_js" class="btn btn-primary">Renew all</button> |
548 |
<button type="button" id="renewall_js" class="btn btn-primary">Renew all</button> |
| 549 |
[% END %] |
549 |
[% END %] |
| 550 |
</form> |
550 |
</form> |
| 551 |
|
551 |
|
| 552 |
[% IF ( canrenew && !userdebarred && OpacRenewalAllowed && !( logged_in_user.is_expired && logged_in_user.category.effective_BlockExpiredPatronOpacActions ) ) %] |
552 |
[% IF ( canrenew && !userdebarred && OpacRenewalAllowed && !( logged_in_user.is_expired && logged_in_user.category.effective_BlockExpiredPatronOpacActions_contains('renew') ) ) %] |
| 553 |
<form id="renewall" class="js-hide" action="/cgi-bin/koha/opac-renew.pl" method="post"> |
553 |
<form id="renewall" class="js-hide" action="/cgi-bin/koha/opac-renew.pl" method="post"> |
| 554 |
[% INCLUDE 'csrf-token.inc' %] |
554 |
[% INCLUDE 'csrf-token.inc' %] |
| 555 |
<legend class="sr-only">Renew</legend> |
555 |
<legend class="sr-only">Renew</legend> |