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

(-)a/installer/data/mysql/atomicupdate/bug_23293.perl (+11 lines)
Line 0 Link Here
1
$DBversion = 'XXX'; # will be replaced by the RM
2
if( CheckVersion( $DBversion ) ) {
3
    $dbh->do( q{
4
            INSERT IGNORE INTO systempreferences (variable,value,options,explanation,type) VALUES
5
            ('OPACFineNoRenewalsIncludeCredits','1',NULL,'If enabled the value specified in OPACFineNoRenewals should include any unapplied account credits in the calculation','YesNo')
6
    });
7
8
    # Always end with this (adjust the bug info)
9
    SetVersion( $DBversion );
10
    print "Upgrade to $DBversion done (Bug 23293 - Add 'OPACFineNoRenewalsIncludeCredits' system preference)\n";
11
}
(-)a/installer/data/mysql/sysprefs.sql (+1 lines)
Lines 457-462 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
457
('OpenURLResolverURL', '', NULL, 'URL of OpenURL Resolver', 'Free'),
457
('OpenURLResolverURL', '', NULL, 'URL of OpenURL Resolver', 'Free'),
458
('OpenURLText', '', NULL, 'Text of OpenURL links (or image title if OpenURLImageLocation is defined)', 'Free'),
458
('OpenURLText', '', NULL, 'Text of OpenURL links (or image title if OpenURLImageLocation is defined)', 'Free'),
459
('OpenURLImageLocation', '', NULL, 'Location of image for OpenURL links', 'Free'),
459
('OpenURLImageLocation', '', NULL, 'Location of image for OpenURL links', 'Free'),
460
('OPACFineNoRenewalsIncludeCredits','1',NULL,'If enabled the value specified in OPACFineNoRenewals should include any unapplied account credits in the calculation','YesNo'),
460
('OPACShowOpenURL', '', NULL, 'Enable display of OpenURL links in OPAC search results and detail page', 'YesNo'),
461
('OPACShowOpenURL', '', NULL, 'Enable display of OpenURL links in OPAC search results and detail page', 'YesNo'),
461
('OPACOpenURLItemTypes', '', NULL, 'Show the OpenURL link only for these item types', 'Free'),
462
('OPACOpenURLItemTypes', '', NULL, 'Show the OpenURL link only for these item types', 'Free'),
462
('OrderPdfFormat','pdfformat::layout3pages','Controls what script is used for printing (basketgroups)','','free'),
463
('OrderPdfFormat','pdfformat::layout3pages','Controls what script is used for printing (basketgroups)','','free'),
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref (-1 / +6 lines)
Lines 625-630 OPAC: Link Here
625
            - pref: OPACFineNoRenewals
625
            - pref: OPACFineNoRenewals
626
              class: currency
626
              class: currency
627
            - '[% local_currency %] in fines (leave blank to disable).'
627
            - '[% local_currency %] in fines (leave blank to disable).'
628
        -
629
            - pref: OPACFineNoRenewalsIncludeCredits
630
              choices:
631
                  yes: Include
632
                  no: "Don't include"
633
            - outstanding/unapplied credits when applying the OPACFineNoRenewals rule to users
628
        -
634
        -
629
            - pref: OPACViewOthersSuggestions
635
            - pref: OPACViewOthersSuggestions
630
              choices:
636
              choices:
631
- 

Return to bug 23293