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