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::Borrower::Discharge; |
32 |
|
33 |
|
33 |
my $query = new CGI; |
34 |
my $query = new CGI; |
34 |
|
35 |
|
Lines 65-76
my $pendingtags = get_count_by_tag_status(0);
Link Here
|
65 |
my $pendingsuggestions = CountSuggestion("ASKED"); |
66 |
my $pendingsuggestions = CountSuggestion("ASKED"); |
66 |
my $pending_borrower_modifications = |
67 |
my $pending_borrower_modifications = |
67 |
Koha::Borrower::Modifications->GetPendingModificationsCount( $branch ); |
68 |
Koha::Borrower::Modifications->GetPendingModificationsCount( $branch ); |
|
|
69 |
my $pending_discharge_requests = Koha::Borrower::Discharge::count({ pending => 1 }); |
68 |
|
70 |
|
69 |
$template->param( |
71 |
$template->param( |
70 |
pendingcomments => $pendingcomments, |
72 |
pendingcomments => $pendingcomments, |
71 |
pendingtags => $pendingtags, |
73 |
pendingtags => $pendingtags, |
72 |
pendingsuggestions => $pendingsuggestions, |
74 |
pendingsuggestions => $pendingsuggestions, |
73 |
pending_borrower_modifications => $pending_borrower_modifications, |
75 |
pending_borrower_modifications => $pending_borrower_modifications, |
|
|
76 |
pending_discharge_requests => $pending_discharge_requests, |
74 |
); |
77 |
); |
75 |
|
78 |
|
76 |
# |
79 |
# |
77 |
- |
|
|