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