Lines 1119-1125
sub checkHighHolds {
Link Here
|
1119 |
); |
1119 |
); |
1120 |
$sth->execute( $item->{'biblionumber'} ); |
1120 |
$sth->execute( $item->{'biblionumber'} ); |
1121 |
my ($holds) = $sth->fetchrow_array; |
1121 |
my ($holds) = $sth->fetchrow_array; |
1122 |
if ($holds) { |
1122 |
if ( $holds >= C4::Context->preference('decreaseLoanHighHoldsValue') ) { |
1123 |
my $issuedate = DateTime->now( time_zone => C4::Context->tz() ); |
1123 |
my $issuedate = DateTime->now( time_zone => C4::Context->tz() ); |
1124 |
|
1124 |
|
1125 |
my $calendar = Koha::Calendar->new( branchcode => $branch ); |
1125 |
my $calendar = Koha::Calendar->new( branchcode => $branch ); |
1126 |
- |
|
|