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

(-)a/installer/data/mysql/atomicupdate/bug_15492.perl (+11 lines)
Line 0 Link Here
1
$DBversion = 'XXX';
2
if( CheckVersion( $DBversion ) ) {
3
4
    $dbh->do(q|
5
        INSERT IGNORE INTO systempreferences (variable,value,options,explanation,type)
6
        VALUES ('SelfCheckInModule', 0, NULL, 'Enable the standalone self-checkin module.', 'YesNo');
7
    |);
8
9
    SetVersion( $DBversion );
10
    print "Upgrade to $DBversion done (Bug 15492: Add a standalone self-checkin module)\n";
11
}
(-)a/installer/data/mysql/sysprefs.sql (+1 lines)
Lines 480-485 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
480
('SearchMyLibraryFirst','0',NULL,'If ON, OPAC searches return results limited by the user\'s library by default if they are logged in','YesNo'),
480
('SearchMyLibraryFirst','0',NULL,'If ON, OPAC searches return results limited by the user\'s library by default if they are logged in','YesNo'),
481
('SearchWithISBNVariations','0',NULL,'If enabled, search on all variations of the ISBN','YesNo'),
481
('SearchWithISBNVariations','0',NULL,'If enabled, search on all variations of the ISBN','YesNo'),
482
('SelfCheckHelpMessage','','70|10','Enter HTML to include under the basic Web-based Self Checkout instructions on the Help page','Textarea'),
482
('SelfCheckHelpMessage','','70|10','Enter HTML to include under the basic Web-based Self Checkout instructions on the Help page','Textarea'),
483
('SelfCheckInModule', 0, NULL, 'Enable the standalone self-checkin module.', 'YesNo'),
483
('SelfCheckoutByLogin','1',NULL,'Have patrons login into the web-based self checkout system with their username/password or their cardnumber','YesNo'),
484
('SelfCheckoutByLogin','1',NULL,'Have patrons login into the web-based self checkout system with their username/password or their cardnumber','YesNo'),
484
('SelfCheckReceiptPrompt','1','NULL','If ON, print receipt dialog pops up when self checkout is finished','YesNo'),
485
('SelfCheckReceiptPrompt','1','NULL','If ON, print receipt dialog pops up when self checkout is finished','YesNo'),
485
('SelfCheckTimeout','120','','Define the number of seconds before the Web-based Self Checkout times out a patron','Integer'),
486
('SelfCheckTimeout','120','','Define the number of seconds before the Web-based Self Checkout times out a patron','Integer'),
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref (-2 / +7 lines)
Lines 776-782 Circulation: Link Here
776
            - pref: ProcessingFeeNote
776
            - pref: ProcessingFeeNote
777
              type: textarea
777
              type: textarea
778
              class: code
778
              class: code
779
779
    Self check-in module:
780
        -
781
            - pref: SelfCheckInModule
782
              choices:
783
                  yes: Enable
784
                  no: "Don't enable"
785
            - "the standalone self check-in module (available at: /cgi-bin/koha/sci/sci-main.pl)"
780
    Self Checkout:
786
    Self Checkout:
781
        -
787
        -
782
            - "Include the following JavaScript on all pages in the web-based self checkout:"
788
            - "Include the following JavaScript on all pages in the web-based self checkout:"
783
- 

Return to bug 15492