|
Lines 342-348
Link Here
|
| 342 |
<th>Barcode</th> |
342 |
<th>Barcode</th> |
| 343 |
[% END %] |
343 |
[% END %] |
| 344 |
<th>Call number</th> |
344 |
<th>Call number</th> |
| 345 |
[% IF ( OpacRenewalAllowed && !( logged_in_user.is_expired && logged_in_user.category.effective_BlockExpiredPatronOpacActions ) ) %] |
345 |
[% IF ( OpacRenewalAllowed && !( logged_in_user.is_expired && logged_in_user.category.effective_BlockExpiredPatronOpacActions_contains('renew') ) ) %] |
| 346 |
<th>Renew</th> |
346 |
<th>Renew</th> |
| 347 |
[% END %] |
347 |
[% END %] |
| 348 |
[% IF ( OPACFinesTab ) %] |
348 |
[% IF ( OPACFinesTab ) %] |
|
Lines 444-450
Link Here
|
| 444 |
<span class="tdlabel">Call number:</span> |
444 |
<span class="tdlabel">Call number:</span> |
| 445 |
[% ISSUE.itemcallnumber | html %] |
445 |
[% ISSUE.itemcallnumber | html %] |
| 446 |
</td> |
446 |
</td> |
| 447 |
[% IF ( OpacRenewalAllowed && !( logged_in_user.is_expired && logged_in_user.category.effective_BlockExpiredPatronOpacActions ) ) %] |
447 |
[% IF ( OpacRenewalAllowed && !( logged_in_user.is_expired && logged_in_user.category.effective_BlockExpiredPatronOpacActions_contains('renew') ) ) %] |
| 448 |
[% IF ( ISSUE.status && canrenew ) %] |
448 |
[% IF ( ISSUE.status && canrenew ) %] |
| 449 |
<td class="renew" data-order="[% ISSUE.renewsleft | html %]"> |
449 |
<td class="renew" data-order="[% ISSUE.renewsleft | html %]"> |
| 450 |
[% ELSE %] |
450 |
[% ELSE %] |
|
Lines 550-563
Link Here
|
| 550 |
[% END # /FOREACH ISSUES %] |
550 |
[% END # /FOREACH ISSUES %] |
| 551 |
</tbody> |
551 |
</tbody> |
| 552 |
</table> |
552 |
</table> |
| 553 |
[% IF ( canrenew && !userdebarred && OpacRenewalAllowed && !( logged_in_user.is_expired && logged_in_user.category.effective_BlockExpiredPatronOpacActions ) ) %] |
553 |
[% IF ( canrenew && !userdebarred && OpacRenewalAllowed && !( logged_in_user.is_expired && logged_in_user.category.effective_BlockExpiredPatronOpacActions_contains('renew') ) ) %] |
| 554 |
<input type="submit" class="btn btn-primary d-print-none" value="Renew selected" /> |
554 |
<input type="submit" class="btn btn-primary d-print-none" value="Renew selected" /> |
| 555 |
<input type="hidden" name="op" value="cud-renew" /> |
555 |
<input type="hidden" name="op" value="cud-renew" /> |
| 556 |
<button type="button" id="renewall_js" class="btn btn-primary d-print-none">Renew all</button> |
556 |
<button type="button" id="renewall_js" class="btn btn-primary d-print-none">Renew all</button> |
| 557 |
[% END %] |
557 |
[% END %] |
| 558 |
</form> |
558 |
</form> |
| 559 |
|
559 |
|
| 560 |
[% IF ( canrenew && !userdebarred && OpacRenewalAllowed && !( logged_in_user.is_expired && logged_in_user.category.effective_BlockExpiredPatronOpacActions ) ) %] |
560 |
[% IF ( canrenew && !userdebarred && OpacRenewalAllowed && !( logged_in_user.is_expired && logged_in_user.category.effective_BlockExpiredPatronOpacActions_contains('renew') ) ) %] |
| 561 |
<form id="renewall" class="js-hide" action="/cgi-bin/koha/opac-renew.pl" method="post"> |
561 |
<form id="renewall" class="js-hide" action="/cgi-bin/koha/opac-renew.pl" method="post"> |
| 562 |
[% INCLUDE 'csrf-token.inc' %] |
562 |
[% INCLUDE 'csrf-token.inc' %] |
| 563 |
<legend class="sr-only">Renew</legend> |
563 |
<legend class="sr-only">Renew</legend> |