Koha/installer/data/mysql/db_revs/231200052.pl
Katrin Fischer e033aad342
Bug 32256: DBRev 23.12.00.052
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
2024-05-08 18:23:56 +02:00

16 lines
560 B
Perl
Executable file

use Modern::Perl;
return {
bug_number => "32256",
description => "Self checkout batch mode",
up => sub {
my ($args) = @_;
my ( $dbh, $out ) = @$args{qw(dbh out)};
$dbh->do(
q{ INSERT IGNORE INTO systempreferences (variable,value,options,explanation,type) VALUES ('SCOBatchCheckoutsValidCategories','',NULL,'Patron categories allowed to checkout in a batch while logged into Self Checkout','Free') }
);
say $out "Added system preference 'SCOBatchCheckoutsValidCategories'";
},
};