use Koha::Patron::Discharge;
use Koha::Reviews;
use Koha::ArticleRequests;
+use Koha::ProblemReports;
my $query = new CGI;
$branch ? ( 'me.branchcode' => $branch ) : (),
}
)->count;
+my $pending_problem_reports = Koha::ProblemReports->search({ status => 'N' });
$template->param(
pendingcomments => $pendingcomments,
pending_borrower_modifications => $pending_borrower_modifications,
pending_discharge_requests => $pending_discharge_requests,
pending_article_requests => $pending_article_requests,
+ pending_problem_reports => $pending_problem_reports
);
output_html_with_http_headers $query, $cookie, $template->output;