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 482-487 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
482
('SearchMyLibraryFirst','0',NULL,'If ON, OPAC searches return results limited by the user\'s library by default if they are logged in','YesNo'),
482
('SearchMyLibraryFirst','0',NULL,'If ON, OPAC searches return results limited by the user\'s library by default if they are logged in','YesNo'),
483
('SearchWithISBNVariations','0',NULL,'If enabled, search on all variations of the ISBN','YesNo'),
483
('SearchWithISBNVariations','0',NULL,'If enabled, search on all variations of the ISBN','YesNo'),
484
('SelfCheckHelpMessage','','70|10','Enter HTML to include under the basic Web-based Self Checkout instructions on the Help page','Textarea'),
484
('SelfCheckHelpMessage','','70|10','Enter HTML to include under the basic Web-based Self Checkout instructions on the Help page','Textarea'),
485
('SelfCheckInModule', 0, NULL, 'Enable the standalone self-checkin module.', 'YesNo'),
485
('SelfCheckoutByLogin','1',NULL,'Have patrons login into the web-based self checkout system with their username/password or their cardnumber','YesNo'),
486
('SelfCheckoutByLogin','1',NULL,'Have patrons login into the web-based self checkout system with their username/password or their cardnumber','YesNo'),
486
('SelfCheckReceiptPrompt','1','NULL','If ON, print receipt dialog pops up when self checkout is finished','YesNo'),
487
('SelfCheckReceiptPrompt','1','NULL','If ON, print receipt dialog pops up when self checkout is finished','YesNo'),
487
('SelfCheckTimeout','120','','Define the number of seconds before the Web-based Self Checkout times out a patron','Integer'),
488
('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 783-789 Circulation: Link Here
783
            - pref: ProcessingFeeNote
783
            - pref: ProcessingFeeNote
784
              type: textarea
784
              type: textarea
785
              class: code
785
              class: code
786
786
    Self check-in module:
787
        -
788
            - pref: SelfCheckInModule
789
              choices:
790
                  yes: Enable
791
                  no: "Don't enable"
792
            - "the standalone self check-in module (available at: /cgi-bin/koha/sci/sci-main.pl)"
787
    Self Checkout:
793
    Self Checkout:
788
        -
794
        -
789
            - "Include the following JavaScript on all pages in the web-based self checkout:"
795
            - "Include the following JavaScript on all pages in the web-based self checkout:"
790
- 

Return to bug 15492