Lines 61-75
function export_barcodes() {
Link Here
|
61 |
function yuiToolbar() { |
61 |
function yuiToolbar() { |
62 |
var printmenu = [ |
62 |
var printmenu = [ |
63 |
[% IF ( CAN_user_borrowers ) %] |
63 |
[% IF ( CAN_user_borrowers ) %] |
64 |
{ text: _("Print page"), onclick: {fn: function(){printx_window("page")}} }, |
64 |
{ text: _("Print summary"), onclick: {fn: function(){printx_window("page")}} }, |
65 |
[% END %] |
65 |
[% END %] |
66 |
{ text: _("Print slip"), onclick: {fn: function(){printx_window("slip")}} }, |
66 |
{ text: _("Print slip"), onclick: {fn: function(){printx_window("slip")}} }, |
67 |
{ text: _("Quick slip"), onclick: {fn: function(){printx_window("qslip")}} } |
67 |
{ text: _("Print quick slip"), onclick: {fn: function(){printx_window("qslip")}} } |
68 |
]; |
68 |
]; |
69 |
|
69 |
|
70 |
var moremenu = [ |
70 |
var moremenu = [ |
71 |
{ text: _("Renew patron"), onclick: { fn: confirm_reregistration } }, |
71 |
{ text: _("Renew patron"), onclick: { fn: confirm_reregistration } }, |
72 |
{ text: _("Set permissions"), url: "/cgi-bin/koha/members/member-flags.pl?member=[% borrowernumber %]"[% UNLESS CAN_user_permissions %], disabled: true[% END %]}, |
72 |
{ text: _("Set permissions"), url: "/cgi-bin/koha/members/member-flags.pl?member=[% borrowernumber %]"[% UNLESS CAN_user_permissions %], disabled: true[% END %]}, |
73 |
{ text: _("Delete"), [% UNLESS CAN_user_borrowers %]disabled: true, [% END %] onclick: { fn: confirm_deletion } }, |
73 |
{ text: _("Delete"), [% UNLESS CAN_user_borrowers %]disabled: true, [% END %] onclick: { fn: confirm_deletion } }, |
74 |
{ text: _("Update child to adult patron") , onclick: { fn: update_child }[% UNLESS is_child %], disabled: true[% END %]}, |
74 |
{ text: _("Update child to adult patron") , onclick: { fn: update_child }[% UNLESS is_child %], disabled: true[% END %]}, |
75 |
{ text: _("Export today's checked in barcodes"), onclick: { fn: export_barcodes }} |
75 |
{ text: _("Export today's checked in barcodes"), onclick: { fn: export_barcodes }} |
Lines 129-138
function export_barcodes() {
Link Here
|
129 |
[% IF ( CAN_user_borrowers ) %] <li><a id="changepassword" href="/cgi-bin/koha/members/member-password.pl?member=[% borrowernumber %]">Change password</a></li>[% END %] |
129 |
[% IF ( CAN_user_borrowers ) %] <li><a id="changepassword" href="/cgi-bin/koha/members/member-password.pl?member=[% borrowernumber %]">Change password</a></li>[% END %] |
130 |
[% END %] |
130 |
[% END %] |
131 |
<li><a id="duplicate" href="/cgi-bin/koha/members/memberentry.pl?op=duplicate&borrowernumber=[% borrowernumber %]&category_type=[% category_type %]">Duplicate</a></li> |
131 |
<li><a id="duplicate" href="/cgi-bin/koha/members/memberentry.pl?op=duplicate&borrowernumber=[% borrowernumber %]&category_type=[% category_type %]">Duplicate</a></li> |
132 |
<li id="printmenuc"><a id="printpage" href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]&print=page">Print page</a></li> |
132 |
<li id="printmenuc"><a id="printpage" href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]&print=page">Print summary</a></li> |
133 |
<li><a id="printslip" href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]&print=slip">Print slip</a></li> |
133 |
<li><a id="printslip" href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]&print=slip">Print slip</a></li> |
134 |
<li id="searchtoholdc"><a id="searchtohold" href="#">Search to hold</a></li> |
134 |
<li id="searchtoholdc"><a id="searchtohold" href="#">Search to hold</a></li> |
135 |
<li id="moremenuc"><a id="renewpatron" href="/cgi-bin/koha/members/moremember.pl?reregistration=y&borrowernumber=[% borrowernumber %]">Renew account</a></li> |
135 |
<li id="moremenuc"><a id="renewpatron" href="/cgi-bin/koha/members/moremember.pl?reregistration=y&borrowernumber=[% borrowernumber %]">Renew account</a></li> |
136 |
[% IF ( CAN_user_permissions ) %] |
136 |
[% IF ( CAN_user_permissions ) %] |
137 |
[% IF ( StaffMember ) %] |
137 |
[% IF ( StaffMember ) %] |
138 |
[% IF ( CAN_user_staffaccess ) %] |
138 |
[% IF ( CAN_user_staffaccess ) %] |