|
Lines 102-110
if ( C4::Context->only_my_library ) {
Link Here
|
| 102 |
); |
102 |
); |
| 103 |
} |
103 |
} |
| 104 |
|
104 |
|
| 105 |
my $pending_borrower_modifications = Koha::Patron::Modifications->pending_count($branch); |
105 |
my $pending_borrower_modifications = Koha::Patron::Modifications->pending_count($branch); |
| 106 |
my $pending_discharge_requests = Koha::Patron::Discharge::count( { pending => 1 } ); |
106 |
my $local_pendingmodifications_count = Koha::Patron::Modifications->pending_count( C4::Context->userenv()->{'branch'} ); |
| 107 |
my $pending_article_requests = Koha::ArticleRequests->search_limited( |
107 |
|
|
|
108 |
my $pending_discharge_requests = Koha::Patron::Discharge::count( { pending => 1 } ); |
| 109 |
my $pending_article_requests = Koha::ArticleRequests->search_limited( |
| 108 |
{ |
110 |
{ |
| 109 |
status => Koha::ArticleRequest::Status::Requested, |
111 |
status => Koha::ArticleRequest::Status::Requested, |
| 110 |
$branch ? ( 'me.branchcode' => $branch ) : (), |
112 |
$branch ? ( 'me.branchcode' => $branch ) : (), |
|
Lines 157-162
$template->param(
Link Here
|
| 157 |
pendingcomments => $pendingcomments, |
159 |
pendingcomments => $pendingcomments, |
| 158 |
pendingtags => $pendingtags, |
160 |
pendingtags => $pendingtags, |
| 159 |
pending_borrower_modifications => $pending_borrower_modifications, |
161 |
pending_borrower_modifications => $pending_borrower_modifications, |
|
|
162 |
pending_local_borrowermods => $local_pendingmodifications_count, |
| 160 |
pending_discharge_requests => $pending_discharge_requests, |
163 |
pending_discharge_requests => $pending_discharge_requests, |
| 161 |
pending_article_requests => $pending_article_requests, |
164 |
pending_article_requests => $pending_article_requests, |
| 162 |
pending_problem_reports => $pending_problem_reports, |
165 |
pending_problem_reports => $pending_problem_reports, |
| 163 |
- |
|
|