|
Lines 37-42
use Koha::Suggestions;
Link Here
|
| 37 |
use Koha::BackgroundJobs; |
37 |
use Koha::BackgroundJobs; |
| 38 |
use Koha::CurbsidePickups; |
38 |
use Koha::CurbsidePickups; |
| 39 |
use Koha::Tickets; |
39 |
use Koha::Tickets; |
|
|
40 |
use Koha::Token; |
| 40 |
|
41 |
|
| 41 |
my $query = CGI->new; |
42 |
my $query = CGI->new; |
| 42 |
|
43 |
|
|
Lines 102-110
if ( C4::Context->only_my_library ) {
Link Here
|
| 102 |
); |
103 |
); |
| 103 |
} |
104 |
} |
| 104 |
|
105 |
|
| 105 |
my $pending_borrower_modifications = Koha::Patron::Modifications->pending_count($branch); |
106 |
my $pending_borrower_modifications = Koha::Patron::Modifications->pending_count($branch); |
| 106 |
my $pending_discharge_requests = Koha::Patron::Discharge::count( { pending => 1 } ); |
107 |
my $local_pendingmodifications_count = Koha::Patron::Modifications->pending_count( C4::Context->userenv()->{'branch'} ); |
| 107 |
my $pending_article_requests = Koha::ArticleRequests->search_limited( |
108 |
|
|
|
109 |
my $pending_discharge_requests = Koha::Patron::Discharge::count( { pending => 1 } ); |
| 110 |
my $pending_article_requests = Koha::ArticleRequests->search_limited( |
| 108 |
{ |
111 |
{ |
| 109 |
status => Koha::ArticleRequest::Status::Requested, |
112 |
status => Koha::ArticleRequest::Status::Requested, |
| 110 |
$branch ? ( 'me.branchcode' => $branch ) : (), |
113 |
$branch ? ( 'me.branchcode' => $branch ) : (), |
|
Lines 157-162
$template->param(
Link Here
|
| 157 |
pendingcomments => $pendingcomments, |
160 |
pendingcomments => $pendingcomments, |
| 158 |
pendingtags => $pendingtags, |
161 |
pendingtags => $pendingtags, |
| 159 |
pending_borrower_modifications => $pending_borrower_modifications, |
162 |
pending_borrower_modifications => $pending_borrower_modifications, |
|
|
163 |
pending_local_borrowermods => $local_pendingmodifications_count, |
| 160 |
pending_discharge_requests => $pending_discharge_requests, |
164 |
pending_discharge_requests => $pending_discharge_requests, |
| 161 |
pending_article_requests => $pending_article_requests, |
165 |
pending_article_requests => $pending_article_requests, |
| 162 |
pending_problem_reports => $pending_problem_reports, |
166 |
pending_problem_reports => $pending_problem_reports, |
| 163 |
- |
|
|