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

(-)a/installer/data/mysql/sysprefs.sql (-1 / +1 lines)
Lines 332-338 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
332
('SearchEngine','Zebra','Solr|Zebra','Search Engine','Choice'),
332
('SearchEngine','Zebra','Solr|Zebra','Search Engine','Choice'),
333
('SearchMyLibraryFirst','0',NULL,'If ON, OPAC searches return results limited by the user\'s library by default if they are logged in','YesNo'),
333
('SearchMyLibraryFirst','0',NULL,'If ON, OPAC searches return results limited by the user\'s library by default if they are logged in','YesNo'),
334
('SelfCheckHelpMessage','','70|10','Enter HTML to include under the basic Web-based Self Checkout instructions on the Help page','Textarea'),
334
('SelfCheckHelpMessage','','70|10','Enter HTML to include under the basic Web-based Self Checkout instructions on the Help page','Textarea'),
335
('SelfCheckReceiptPrompt','0','NULL','If ON, print receipt dialog pops up when self checkout is finished','YesNo'),
335
('SelfCheckReceiptPrompt','1','NULL','If ON, print receipt dialog pops up when self checkout is finished','YesNo'),
336
('SelfCheckTimeout','120','','Define the number of seconds before the Web-based Self Checkout times out a patron','Integer'),
336
('SelfCheckTimeout','120','','Define the number of seconds before the Web-based Self Checkout times out a patron','Integer'),
337
('SeparateHoldings','0',NULL,'Separate current branch holdings from other holdings','YesNo'),
337
('SeparateHoldings','0',NULL,'Separate current branch holdings from other holdings','YesNo'),
338
('SeparateHoldingsBranch','homebranch','homebranch|holdingbranch','Branch used to separate holdings','Choice'),
338
('SeparateHoldingsBranch','homebranch','homebranch|holdingbranch','Branch used to separate holdings','Choice'),
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt (-2 / +2 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 356-362 Link Here
356
357
357
            $("#logout_form").submit(function(){
358
            $("#logout_form").submit(function(){
358
                clearTimeout(mainTimeout);
359
                clearTimeout(mainTimeout);
359
            [% IF ( SelfCheckReceiptPrompt ) %]
360
            [% IF Koha.Preference('SelfCheckReceiptPrompt') %]
360
                if(confirm("Would you like to print a receipt?")){
361
                if(confirm("Would you like to print a receipt?")){
361
                    window.open("/cgi-bin/koha/sco/printslip.pl?borrowernumber=[% borrowernumber %]&amp;print=qslip");
362
                    window.open("/cgi-bin/koha/sco/printslip.pl?borrowernumber=[% borrowernumber %]&amp;print=qslip");
362
	    [% END %]
363
	    [% END %]
363
- 

Return to bug 11415