Lines 93-98
if( C4::Context->only_my_library ){
Link Here
|
93 |
} |
93 |
} |
94 |
|
94 |
|
95 |
my $pending_borrower_modifications = Koha::Patron::Modifications->pending_count( $branch ); |
95 |
my $pending_borrower_modifications = Koha::Patron::Modifications->pending_count( $branch ); |
|
|
96 |
my $local_pendingmodifications_count = Koha::Patron::Modifications->pending_count( C4::Context->userenv()->{'branch'} ); |
97 |
|
96 |
my $pending_discharge_requests = Koha::Patron::Discharge::count({ pending => 1 }); |
98 |
my $pending_discharge_requests = Koha::Patron::Discharge::count({ pending => 1 }); |
97 |
my $pending_article_requests = Koha::ArticleRequests->search_limited( |
99 |
my $pending_article_requests = Koha::ArticleRequests->search_limited( |
98 |
{ |
100 |
{ |
Lines 112-117
$template->param(
Link Here
|
112 |
pendingcomments => $pendingcomments, |
114 |
pendingcomments => $pendingcomments, |
113 |
pendingtags => $pendingtags, |
115 |
pendingtags => $pendingtags, |
114 |
pending_borrower_modifications => $pending_borrower_modifications, |
116 |
pending_borrower_modifications => $pending_borrower_modifications, |
|
|
117 |
pending_local_borrowermods => $local_pendingmodifications_count, |
115 |
pending_discharge_requests => $pending_discharge_requests, |
118 |
pending_discharge_requests => $pending_discharge_requests, |
116 |
pending_article_requests => $pending_article_requests, |
119 |
pending_article_requests => $pending_article_requests, |
117 |
pending_problem_reports => $pending_problem_reports |
120 |
pending_problem_reports => $pending_problem_reports |
118 |
- |
|
|