Lines 127-133
unless ( $logged_in_user->has_permission( { parameters => 'manage_background_job
Link Here
|
127 |
$template->param( already_ran_jobs => $already_ran_jobs ); |
127 |
$template->param( already_ran_jobs => $already_ran_jobs ); |
128 |
} |
128 |
} |
129 |
|
129 |
|
130 |
my $holds_to_pull = Koha::Holds->search( found => undef )->count; |
130 |
my $holds_with_cancellation_requests = Koha::Holds->waiting->search()->filter_by_has_cancellation_requests->count; |
131 |
|
131 |
|
132 |
if ( C4::Context->preference('CurbsidePickup') ) { |
132 |
if ( C4::Context->preference('CurbsidePickup') ) { |
133 |
$template->param( |
133 |
$template->param( |
Lines 146-152
$template->param(
Link Here
|
146 |
pending_discharge_requests => $pending_discharge_requests, |
146 |
pending_discharge_requests => $pending_discharge_requests, |
147 |
pending_article_requests => $pending_article_requests, |
147 |
pending_article_requests => $pending_article_requests, |
148 |
pending_problem_reports => $pending_problem_reports, |
148 |
pending_problem_reports => $pending_problem_reports, |
149 |
holds_to_pull => $holds_to_pull, |
149 |
holds_with_cancellation_requests => $holds_with_cancellation_requests, |
150 |
); |
150 |
); |
151 |
|
151 |
|
152 |
output_html_with_http_headers $query, $cookie, $template->output; |
152 |
output_html_with_http_headers $query, $cookie, $template->output; |
153 |
- |
|
|