Lines 29-34
use C4::Review qw/numberofreviews/;
Link Here
|
29 |
use C4::Suggestions qw/CountSuggestion/; |
29 |
use C4::Suggestions qw/CountSuggestion/; |
30 |
use C4::Tags qw/get_count_by_tag_status/; |
30 |
use C4::Tags qw/get_count_by_tag_status/; |
31 |
use Koha::Borrower::Modifications; |
31 |
use Koha::Borrower::Modifications; |
|
|
32 |
use Koha::Service::Borrower::Discharge; |
32 |
|
33 |
|
33 |
my $query = new CGI; |
34 |
my $query = new CGI; |
34 |
|
35 |
|
Lines 61-72
my $pendingtags = get_count_by_tag_status(0);
Link Here
|
61 |
my $pendingsuggestions = CountSuggestion("ASKED"); |
62 |
my $pendingsuggestions = CountSuggestion("ASKED"); |
62 |
my $pending_borrower_modifications = |
63 |
my $pending_borrower_modifications = |
63 |
Koha::Borrower::Modifications->GetPendingModificationsCount( $branch ); |
64 |
Koha::Borrower::Modifications->GetPendingModificationsCount( $branch ); |
|
|
65 |
my $pending_discharge_requests = Koha::Service::Borrower::Discharge::count({ pending => 1 }); |
64 |
|
66 |
|
65 |
$template->param( |
67 |
$template->param( |
66 |
pendingcomments => $pendingcomments, |
68 |
pendingcomments => $pendingcomments, |
67 |
pendingtags => $pendingtags, |
69 |
pendingtags => $pendingtags, |
68 |
pendingsuggestions => $pendingsuggestions, |
70 |
pendingsuggestions => $pendingsuggestions, |
69 |
pending_borrower_modifications => $pending_borrower_modifications, |
71 |
pending_borrower_modifications => $pending_borrower_modifications, |
|
|
72 |
pending_discharge_requests => $pending_discharge_requests, |
70 |
); |
73 |
); |
71 |
|
74 |
|
72 |
# |
75 |
# |
73 |
- |
|
|