Bug 25791: Remove win.print()
[koha-ffzg.git] / koha-tmpl / opac-tmpl / bootstrap / en / modules / sco / sco-main.tt
index c428886..8a05dd4 100644 (file)
                     confirmModal("", _("Would you like to print a receipt?"), _("Print receipt and end session"), _("End session"), function(result) {
                         if ( result && (Date.now() - confirmStart) < [% SelfCheckTimeout | html %] ) {
                             var win = window.open("/cgi-bin/koha/sco/printslip.pl?borrowernumber=[% borrowernumber | html %]&amp;print=qslip");
-                            win.print();
                             location.href = '/cgi-bin/koha/sco/sco-main.pl?op=logout';
                         } else {
                             location.href = '/cgi-bin/koha/sco/sco-main.pl?op=logout';