use C4::Output;
use C4::Koha;
use Koha::BiblioFrameworks;
-use Koha::Checkouts;
my $cgi = new CGI;
# Checking if there is a Fast Cataloging Framework
$template->param( fast_cataloging => 1 ) if Koha::BiblioFrameworks->find( 'FA' );
-my $pending_checkout_notes = Koha::Checkouts->search({ noteseen => 0 })->count;
my $pending_onsite_checkouts = C4::Circulation::GetPendingOnSiteCheckouts();
$template->param(
pending_onsite_checkouts => $pending_onsite_checkouts,
- pending_checkout_notes => $pending_checkout_notes,
);
output_html_with_http_headers $cgi, $cookie, $template->output;