Koha/installer/data/mysql/db_revs/211200049.pl
Fridolin Somers 578da5f21f Bug 30563: DBRev 21.12.00.049
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-05-06 10:33:09 -10:00

15 lines
471 B
Perl
Executable file

use Modern::Perl;
return {
bug_number => '30563',
description => 'Add system preference RequireCashRegister',
up => sub {
my ($args) = @_;
my ($dbh, $out) = @$args{qw(dbh out)};
$dbh->do(q{
INSERT IGNORE INTO systempreferences (`variable`, `value`, `options`, `explanation`, `type`)
VALUES ('RequireCashRegister', '0', NULL, 'Require a cash register when collecting a payment', 'YesNo')
});
},
};