@@ -, +, @@ --- installer/data/mysql/atomicupdate/bug_13881.perl | 11 +++++++++++ installer/data/mysql/sysprefs.sql | 1 + .../intranet-tmpl/prog/en/modules/admin/admin-home.tt | 6 ++++-- .../en/modules/admin/preferences/circulation.pref | 6 ++++++ 4 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 installer/data/mysql/atomicupdate/bug_13881.perl --- a/installer/data/mysql/atomicupdate/bug_13881.perl +++ a/installer/data/mysql/atomicupdate/bug_13881.perl @@ -0,0 +1,11 @@ +$DBversion = 'XXX'; # will be replaced by the RM + if ( CheckVersion($DBversion) ) { + + $dbh->do(qq{ + INSERT IGNORE INTO systempreferences (variable,value,options,explanation,type) VALUES + ('UseIssueDesks','0','','Use issue desks with circulation.','YesNo') + }); + + SetVersion($DBversion); + print "Upgrade to $DBversion done (Bug 13881 - Add cash register system preference)\n"; + } --- a/installer/data/mysql/sysprefs.sql +++ a/installer/data/mysql/sysprefs.sql @@ -686,6 +686,7 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` ('useDischarge','','','Allows librarians to discharge borrowers and borrowers to request a discharge','YesNo'), ('UseEmailReceipts','0','','Send email receipts for payments and write-offs','YesNo'), ('UseICU','0','1','Tell Koha if ICU indexing is in use for Zebra or not.','YesNo'), +('UseIssueDesks','0','','Use issue desks with circulation.','YesNo'), ('UseTransportCostMatrix','0','','Use Transport Cost Matrix when filling holds','YesNo'), ('UseWYSIWYGinSystemPreferences','0','','Show WYSIWYG editor when editing certain HTML system preferences.','YesNo'), ('viewISBD','1','','Allow display of ISBD view of bibiographic records','YesNo'), --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/admin-home.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/admin-home.tt @@ -63,8 +63,6 @@