Koha/installer/data/mysql/db_revs/230600037.pl
Tomas Cohen Arazi cb8228ff0a
Bug 31631: DBRev 23.06.00.037
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-10-18 15:41:37 -03:00

16 lines
651 B
Perl
Executable file

use Modern::Perl;
return {
bug_number => "31631",
description => "Allow choosing for tax-exclusive values to be used for calculating fund values (spent, ordered)",
up => sub {
my ($args) = @_;
my ( $dbh, $out ) = @$args{qw(dbh out)};
$dbh->do(
q{INSERT IGNORE INTO systempreferences (variable, value, options, explanation, type) VALUES ('CalculateFundValuesIncludingTax', '1', NULL, 'Include tax in the calculated fund values (spent, ordered) for all supplier configurations', 'YesNo')}
);
say $out "Added new system preference 'CalculateFundValuesIncludingTax'";
},
};