Lines 33-38
function update_child() {
Link Here
|
33 |
[% END %] |
33 |
[% END %] |
34 |
} |
34 |
} |
35 |
|
35 |
|
|
|
36 |
function export_barcodes() { |
37 |
window.open('/cgi-bin/koha/members/readingrec.pl?borrowernumber=[% borrowernumber %]&op=export_barcodes'); |
38 |
} |
39 |
|
36 |
// prepare DOM for YUI Toolbar |
40 |
// prepare DOM for YUI Toolbar |
37 |
|
41 |
|
38 |
$(document).ready(function() { |
42 |
$(document).ready(function() { |
Lines 65-72
function update_child() {
Link Here
|
65 |
{ text: _("Renew Patron"), onclick: { fn: confirm_reregistration } }, |
69 |
{ text: _("Renew Patron"), onclick: { fn: confirm_reregistration } }, |
66 |
{ text: _("Set Permissions"), url: "/cgi-bin/koha/members/member-flags.pl?member=[% borrowernumber %]"[% UNLESS CAN_user_permissions %], disabled: true[% END %]}, |
70 |
{ text: _("Set Permissions"), url: "/cgi-bin/koha/members/member-flags.pl?member=[% borrowernumber %]"[% UNLESS CAN_user_permissions %], disabled: true[% END %]}, |
67 |
{ text: _("Delete"), [% UNLESS CAN_user_borrowers %]disabled: true, [% END %] onclick: { fn: confirm_deletion } }, |
71 |
{ text: _("Delete"), [% UNLESS CAN_user_borrowers %]disabled: true, [% END %] onclick: { fn: confirm_deletion } }, |
68 |
{ text: _("Update Child to Adult Patron") , onclick: { fn: update_child }[% UNLESS is_child %], disabled: true[% END %]} |
72 |
{ text: _("Update Child to Adult Patron") , onclick: { fn: update_child }[% UNLESS is_child %], disabled: true[% END %]}, |
69 |
]; |
73 |
{ text: _("Export today checkin barcodes"), onclick: { fn: export_barcodes }} |
|
|
74 |
]; |
70 |
|
75 |
|
71 |
new YAHOO.widget.Button({ |
76 |
new YAHOO.widget.Button({ |
72 |
type: "menu", |
77 |
type: "menu", |