View | Details | Raw Unified | Return to bug 25791
Collapse All | Expand All

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt (-2 lines)
Lines 481-487 Link Here
481
                    confirmModal("", _("Would you like to print a receipt?"), _("Print receipt and end session"), _("End session"), function(result) {
481
                    confirmModal("", _("Would you like to print a receipt?"), _("Print receipt and end session"), _("End session"), function(result) {
482
                        if ( result && (Date.now() - confirmStart) < [% SelfCheckTimeout | html %] ) {
482
                        if ( result && (Date.now() - confirmStart) < [% SelfCheckTimeout | html %] ) {
483
                            var win = window.open("/cgi-bin/koha/sco/printslip.pl?borrowernumber=[% borrowernumber | html %]&amp;print=qslip");
483
                            var win = window.open("/cgi-bin/koha/sco/printslip.pl?borrowernumber=[% borrowernumber | html %]&amp;print=qslip");
484
                            win.print();
485
                            location.href = '/cgi-bin/koha/sco/sco-main.pl?op=logout';
484
                            location.href = '/cgi-bin/koha/sco/sco-main.pl?op=logout';
486
                        } else {
485
                        } else {
487
                            location.href = '/cgi-bin/koha/sco/sco-main.pl?op=logout';
486
                            location.href = '/cgi-bin/koha/sco/sco-main.pl?op=logout';
488
- 

Return to bug 25791