@@ -, +, @@ checkins table - In the table of checked-in items, confirm that the "Print checkin slip" appears correctly in the column of patron information. - Confirm that the button works correctly to print the correct slip for the associated patron. --- koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt @@ -838,7 +838,6 @@ Collection Patron Note -   @@ -909,6 +908,7 @@ [% END %] + Print checkin slip [% ELSE %] Not checked out [% END %] @@ -924,9 +924,6 @@

[% riloo.itemnotes_nonpublic | html %]

[% END %] - - Print checkin slip - [% END # /FOREACH riloo %] @@ -1125,10 +1122,10 @@ }); $('[data-toggle="tooltip"]').tooltip(); - $("#printcheckinslip").click(function(){ + $(".printcheckinslip").on("click", function(e){ + e.preventDefault(); var borrowernumber = $(this).data('borrowernumber'); window.open("/cgi-bin/koha/members/printslip.pl?borrowernumber=" + borrowernumber + "&print=checkinslip", "printwindow"); - return false; }); }); --