Lines 17-23
$(document).ready(function(){
Link Here
|
17 |
$(".btn-group").removeClass("open"); |
17 |
$(".btn-group").removeClass("open"); |
18 |
});[% END %] |
18 |
});[% END %] |
19 |
[% END %] |
19 |
[% END %] |
20 |
|
20 |
$("#updatechild, #patronflags, #renewpatron, #deletepatron").tooltip(); |
21 |
$("#exportcheckins").click(function(){ |
21 |
$("#exportcheckins").click(function(){ |
22 |
export_barcodes(); |
22 |
export_barcodes(); |
23 |
$(".btn-group").removeClass("open"); |
23 |
$(".btn-group").removeClass("open"); |
Lines 133-154
function searchToHold(){
Link Here
|
133 |
[% IF ( CAN_user_borrowers ) %] |
133 |
[% IF ( CAN_user_borrowers ) %] |
134 |
<li><a id="renewpatron" href="/cgi-bin/koha/members/setstatus.pl?borrowernumber=[% borrowernumber %]&cardnumber=[% cardnumber %]&destination=[% destination %]&reregistration=y">Renew patron</a></li> |
134 |
<li><a id="renewpatron" href="/cgi-bin/koha/members/setstatus.pl?borrowernumber=[% borrowernumber %]&cardnumber=[% cardnumber %]&destination=[% destination %]&reregistration=y">Renew patron</a></li> |
135 |
[% ELSE %] |
135 |
[% ELSE %] |
136 |
<li class="disabled"><a id="renewpatron" href="#">Renew patron</a></li> |
136 |
<li class="disabled"><a data-toggle="tooltip" data-placement="left" title="You are not authorized to renew patrons" id="renewpatron" href="#">Renew patron</a></li> |
137 |
[% END %] |
137 |
[% END %] |
138 |
[% IF ( CAN_user_permissions ) %] |
138 |
[% IF ( CAN_user_permissions ) %] |
139 |
<li><a id="patronflags" href="/cgi-bin/koha/members/member-flags.pl?member=[% borrowernumber %]">Set permissions</a></li> |
139 |
<li><a id="patronflags" href="/cgi-bin/koha/members/member-flags.pl?member=[% borrowernumber %]">Set permissions</a></li> |
140 |
[% ELSE %] |
140 |
[% ELSE %] |
141 |
<li class="disabled"><a id="patronflags" href="#">Set permissions</a></li> |
141 |
<li class="disabled"><a data-toggle="tooltip" data-placement="left" title="You are not authorized to set permissions" id="patronflags" href="#">Set permissions</a></li> |
142 |
[% END %] |
142 |
[% END %] |
143 |
[% IF ( CAN_user_borrowers ) %] |
143 |
[% IF ( CAN_user_borrowers ) %] |
144 |
<li><a id="deletepatron" href="#">Delete</a></li> |
144 |
<li><a id="deletepatron" href="#">Delete</a></li> |
145 |
[% ELSE %] |
145 |
[% ELSE %] |
146 |
<li class="disabled"><a id="deletepatron" href="#">Delete</a></li> |
146 |
<li class="disabled"><a data-toggle="tooltip" data-placement="left" title="You are not authorized to delete patrons" id="deletepatron" href="#">Delete</a></li> |
147 |
[% END %] |
147 |
[% END %] |
148 |
[% IF ( is_child ) %] |
148 |
[% IF ( is_child ) %] |
149 |
<li><a id="updatechild" href="#">Update child to adult patron</a></li> |
149 |
<li><a id="updatechild" href="#">Update child to adult patron</a></li> |
150 |
[% ELSE %] |
150 |
[% ELSE %] |
151 |
<li class="disabled"><a id="updatechild" href="#">Update child to adult patron</a></li></li> |
151 |
<li class="disabled"><a data-toggle="tooltip" data-placement="left" title="Patron is an adult" id="updatechild" href="#">Update child to adult patron</a></li></li> |
152 |
[% END %] |
152 |
[% END %] |
153 |
<li><a id="exportcheckins" href="#">Export today's checked in barcodes</a></li> |
153 |
<li><a id="exportcheckins" href="#">Export today's checked in barcodes</a></li> |
154 |
</ul> |
154 |
</ul> |
155 |
- |
|
|