Lines 296-310
foreach my $bibnum ( @biblionumbers ){
Link Here
|
296 |
push @holds_info, $hold_info; |
296 |
push @holds_info, $hold_info; |
297 |
} |
297 |
} |
298 |
|
298 |
|
|
|
299 |
my $cancel_notify_templates = Koha::Notice::Templates->search({ module => 'reserves', code => 'HOLD_CANCELLATION' }); |
300 |
my $cancel_notice_branches; |
301 |
while ( my $notice = $cancel_notify_templates->next ) { |
302 |
$cancel_notice_branches->{$notice->branchcode} = 1; |
303 |
} |
304 |
|
299 |
$template->param( |
305 |
$template->param( |
300 |
todaysdate => $today, |
306 |
cancel_notice_branches => $cancel_notice_branches, |
301 |
from => $startdate, |
307 |
todaysdate => $today, |
302 |
to => $enddate, |
308 |
from => $startdate, |
303 |
holds_info => \@holds_info, |
309 |
to => $enddate, |
304 |
"BiblioDefaultView".C4::Context->preference("BiblioDefaultView") => 1, |
310 |
holds_info => \@holds_info, |
305 |
HoldsToPullStartDate => C4::Context->preference('HoldsToPullStartDate') || PULL_INTERVAL, |
311 |
HoldsToPullStartDate => C4::Context->preference('HoldsToPullStartDate') || PULL_INTERVAL, |
306 |
HoldsToPullEndDate => C4::Context->preference('ConfirmFutureHolds') || 0, |
312 |
messages => \@messages, |
307 |
messages => \@messages, |
313 |
HoldsToPullEndDate => C4::Context->preference('ConfirmFutureHolds') || 0, |
|
|
314 |
"BiblioDefaultView" . C4::Context->preference("BiblioDefaultView") => 1, |
308 |
); |
315 |
); |
309 |
|
316 |
|
310 |
output_html_with_http_headers $input, $cookie, $template->output; |
317 |
output_html_with_http_headers $input, $cookie, $template->output; |