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

(-)a/koha-tmpl/opac-tmpl/prog/en/modules/sco/sco-main.tt (-1 / +3 lines)
Lines 1-3 Link Here
1
[% USE Koha %]
1
[% USE KohaDates %]
2
[% USE KohaDates %]
2
[% INCLUDE 'doc-head-open.inc' %][% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha [% END %] &rsaquo; Self checkout </title>
3
[% INCLUDE 'doc-head-open.inc' %][% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha [% END %] &rsaquo; Self checkout </title>
3
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
4
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
Lines 90-97 $(document).ready(function() { Link Here
90
    }));
91
    }));
91
    $("#logout_form").submit(function(){
92
    $("#logout_form").submit(function(){
92
        clearTimeout(mainTimeout);
93
        clearTimeout(mainTimeout);
94
	[% IF Koha.Preference('SelfCheckReceiptPrompt') %]
93
        if(confirm("Would you like to print a receipt?")){
95
        if(confirm("Would you like to print a receipt?")){
94
            window.open("/cgi-bin/koha/sco/printslip.pl?borrowernumber=[% borrowernumber %]&amp;print=qslip");
96
            window.open("/cgi-bin/koha/sco/printslip.pl?borrowernumber=[% borrowernumber %]&amp;print=qslip");
97
	[%END %]
95
        }
98
        }
96
        return true;
99
        return true;
97
    });
100
    });
98
- 

Return to bug 11415