Lines 34-39
use Koha::ProblemReports;
Link Here
|
34 |
use Koha::Quotes; |
34 |
use Koha::Quotes; |
35 |
use Koha::Suggestions; |
35 |
use Koha::Suggestions; |
36 |
use Koha::BackgroundJobs; |
36 |
use Koha::BackgroundJobs; |
|
|
37 |
use Koha::CurbsidePickups; |
37 |
|
38 |
|
38 |
my $query = CGI->new; |
39 |
my $query = CGI->new; |
39 |
|
40 |
|
Lines 108-113
unless ( $logged_in_user->has_permission( { parameters => 'manage_background_job
Link Here
|
108 |
$template->param( already_ran_jobs => $already_ran_jobs ); |
109 |
$template->param( already_ran_jobs => $already_ran_jobs ); |
109 |
} |
110 |
} |
110 |
|
111 |
|
|
|
112 |
if ( C4::Context->preference('CurbsidePickup') ) { |
113 |
$template->param( |
114 |
new_curbside_pickups => Koha::CurbsidePickups->search( |
115 |
{ |
116 |
branchcode => $homebranch, |
117 |
scheduled_pickup_datetime => { '>' => \'DATE(NOW())' }, |
118 |
} |
119 |
)->filter_by_to_be_staged |
120 |
); |
121 |
} |
122 |
|
111 |
$template->param( |
123 |
$template->param( |
112 |
pendingcomments => $pendingcomments, |
124 |
pendingcomments => $pendingcomments, |
113 |
pendingtags => $pendingtags, |
125 |
pendingtags => $pendingtags, |
114 |
- |
|
|