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

(-)a/installer/data/mysql/atomicupdate/bug18736_add_rounding_syspref.perl (+7 lines)
Line 0 Link Here
1
$DBversion = 'XXX';  # will be replaced by the RM
2
if( CheckVersion( $DBversion ) ) {
3
    # $dbh->do( "INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES ('OrderPriceRounding',NULL,'Local preference for rounding orders before calculations to ensure correct calculations','|nearest_cent','Choice')" );
4
5
    SetVersion( $DBversion );
6
    print "Upgrade to $DBversion done (Bug 18736 - Add syspref to control order rounding)\n";
7
}
(-)a/installer/data/mysql/sysprefs.sql (+1 lines)
Lines 409-414 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
409
('OpenLibraryCovers','0',NULL,'If ON Openlibrary book covers will be show','YesNo'),
409
('OpenLibraryCovers','0',NULL,'If ON Openlibrary book covers will be show','YesNo'),
410
('OpenLibrarySearch','0',NULL,'If Yes Open Library search results will show in OPAC','YesNo'),
410
('OpenLibrarySearch','0',NULL,'If Yes Open Library search results will show in OPAC','YesNo'),
411
('OrderPdfFormat','pdfformat::layout3pages','Controls what script is used for printing (basketgroups)','','free'),
411
('OrderPdfFormat','pdfformat::layout3pages','Controls what script is used for printing (basketgroups)','','free'),
412
('OrderPriceRounding','','|nearest_cent','Local preference for rounding orders before calculations to ensure correct calculations','Choice'),
412
('OverDriveCirculation','0','Enable client to see their OverDrive account','','YesNo'),
413
('OverDriveCirculation','0','Enable client to see their OverDrive account','','YesNo'),
413
('OverDriveClientKey','','Client key for OverDrive integration','30','Free'),
414
('OverDriveClientKey','','Client key for OverDrive integration','30','Free'),
414
('OverDriveClientSecret','','Client key for OverDrive integration','30','YesNo'),
415
('OverDriveClientSecret','','Client key for OverDrive integration','30','YesNo'),
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/acquisitions.pref (-2 / +8 lines)
Lines 84-90 Acquisitions: Link Here
84
            - <br>WARNING - Leave this field empty if you don't want to activate this automatic feature.
84
            - <br>WARNING - Leave this field empty if you don't want to activate this automatic feature.
85
            - "<br>Example: [30] Sets purgation of suggestions for those older than 30 days."
85
            - "<br>Example: [30] Sets purgation of suggestions for those older than 30 days."
86
            - <br>(Used when the cronjob purge_suggestions.pl is active and called without a specific number of days)
86
            - <br>(Used when the cronjob purge_suggestions.pl is active and called without a specific number of days)
87
87
        -
88
            - pref: OrderPriceRounding
89
              default: ''
90
              choices:
91
                '': Don't round
92
                nearest_cent: Round
93
            - to nearest cent.<br>
94
            - Determines whether full precision values or rounded values should be used in price calculations
88
        -
95
        -
89
            - pref: UseACQFrameworkForBiblioRecords
96
            - pref: UseACQFrameworkForBiblioRecords
90
              default: no
97
              default: no
91
- 

Return to bug 18736