This patch just makes SCO use the new syspref (AllowItemsOnHoldCheckoutSCO)
instead of the old one, thus making it configurable, separate from the
non-SCO syspref.
Sponsored-by: NEKLS
Signed-off-by: George <george@nekls.org>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
#
# FIXME: inputfocus not really used in TMPL
#
# FIXME: inputfocus not really used in TMPL
-use strict;
-use warnings;
use CGI qw ( -utf8 );
use Digest::MD5 qw(md5_base64);
use CGI qw ( -utf8 );
use Digest::MD5 qw(md5_base64);
- C4::Context->preference("AllowItemsOnHoldCheckout")
+ C4::Context->preference("AllowItemsOnHoldCheckoutSCO")
);
}
$confirm_required = scalar keys %$needconfirm;
);
}
$confirm_required = scalar keys %$needconfirm;
$it->{'barcode'},
undef,
0,
$it->{'barcode'},
undef,
0,
- C4::Context->preference("AllowItemsOnHoldCheckout")
+ C4::Context->preference("AllowItemsOnHoldCheckoutSCO")
);
$it->{'norenew'} = 1 if $renewokay->{'NO_MORE_RENEWALS'};
$it->{date_due} = $it->{date_due_sql};
);
$it->{'norenew'} = 1 if $renewokay->{'NO_MORE_RENEWALS'};
$it->{date_due} = $it->{date_due_sql};