Lines 38-43
use Koha::BackgroundJobs;
Link Here
|
38 |
use Koha::CurbsidePickups; |
38 |
use Koha::CurbsidePickups; |
39 |
use Koha::Tickets; |
39 |
use Koha::Tickets; |
40 |
use Koha::Token; |
40 |
use Koha::Token; |
|
|
41 |
use Koha::Holds; |
41 |
|
42 |
|
42 |
my $query = CGI->new; |
43 |
my $query = CGI->new; |
43 |
|
44 |
|
Lines 127-132
unless ( $logged_in_user->has_permission( { parameters => 'manage_background_job
Link Here
|
127 |
$template->param( already_ran_jobs => $already_ran_jobs ); |
128 |
$template->param( already_ran_jobs => $already_ran_jobs ); |
128 |
} |
129 |
} |
129 |
|
130 |
|
|
|
131 |
my $holds_to_pull = Koha::Holds->search( found => undef )->count; |
132 |
|
130 |
if ( C4::Context->preference('CurbsidePickup') ) { |
133 |
if ( C4::Context->preference('CurbsidePickup') ) { |
131 |
$template->param( |
134 |
$template->param( |
132 |
new_curbside_pickups => Koha::CurbsidePickups->search( |
135 |
new_curbside_pickups => Koha::CurbsidePickups->search( |
Lines 143-149
$template->param(
Link Here
|
143 |
pending_borrower_modifications => $pending_borrower_modifications, |
146 |
pending_borrower_modifications => $pending_borrower_modifications, |
144 |
pending_discharge_requests => $pending_discharge_requests, |
147 |
pending_discharge_requests => $pending_discharge_requests, |
145 |
pending_article_requests => $pending_article_requests, |
148 |
pending_article_requests => $pending_article_requests, |
146 |
pending_problem_reports => $pending_problem_reports |
149 |
pending_problem_reports => $pending_problem_reports, |
|
|
150 |
holds_to_pull => $holds_to_pull, |
147 |
); |
151 |
); |
148 |
|
152 |
|
149 |
output_html_with_http_headers $query, $cookie, $template->output; |
153 |
output_html_with_http_headers $query, $cookie, $template->output; |
150 |
- |
|
|