Link Here
|
145 |
function confirm_reregistration() { |
145 |
function confirm_reregistration() { |
146 |
var is_confirmed = window.confirm( __("Are you sure you want to renew this patron's registration?") ); |
146 |
var is_confirmed = window.confirm( __("Are you sure you want to renew this patron's registration?") ); |
147 |
if (is_confirmed) { |
147 |
if (is_confirmed) { |
148 |
window.location = '/cgi-bin/koha/members/setstatus.pl?borrowernumber=' + borrowernumber + '&destination=' + destination + '&reregistration=y'; |
148 |
window.location = '/cgi-bin/koha/members/setstatus.pl?borrowernumber=' + borrowernumber + '&destination=' + destination + '&reregistration=y'; |
149 |
} |
149 |
} |
150 |
} |
150 |
} |
151 |
function export_barcodes() { |
151 |
function export_barcodes() { |
152 |
window.open('/cgi-bin/koha/members/readingrec.pl?borrowernumber=' + borrowernumber + '&op=export_barcodes'); |
152 |
window.open('/cgi-bin/koha/members/readingrec.pl?borrowernumber=' + borrowernumber + '&op=export_barcodes'); |
153 |
} |
153 |
} |
154 |
var slip_re = /slip/; |
154 |
var slip_re = /slip/; |
155 |
function printx_window(print_type) { |
155 |
function printx_window(print_type) { |
156 |
var handler = print_type.match(slip_re) ? "printslip" : "summary-print"; |
156 |
var handler = print_type.match(slip_re) ? "printslip" : "summary-print"; |
157 |
window.open("/cgi-bin/koha/members/" + handler + ".pl?borrowernumber=" + borrowernumber + "&print=" + print_type, "printwindow"); |
157 |
window.open("/cgi-bin/koha/members/" + handler + ".pl?borrowernumber=" + borrowernumber + "&print=" + print_type, "printwindow"); |
158 |
return false; |
158 |
return false; |
159 |
} |
159 |
} |
160 |
function searchToHold(){ |
160 |
function searchToHold(){ |