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