X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=circ%2Fon-site_checkouts.pl;h=96cea5a66f80ac8599c4bc3a3df41e6a18993acd;hb=ba116a578b3115be1888bb23bc637b165f818fca;hp=05eef2c71c74db4f5a066e07ff248ffe184dd577;hpb=ac4014d21b102fdc45bcca53330b87668fd31770;p=koha.git diff --git a/circ/on-site_checkouts.pl b/circ/on-site_checkouts.pl index 05eef2c71c..96cea5a66f 100755 --- a/circ/on-site_checkouts.pl +++ b/circ/on-site_checkouts.pl @@ -23,7 +23,6 @@ use C4::Circulation qw( GetPendingOnSiteCheckouts ); use C4::Output; use C4::Koha; use Koha::BiblioFrameworks; -use Koha::Checkouts; my $cgi = new CGI; @@ -40,12 +39,10 @@ my ( $template, $loggedinuser, $cookie, $flags ) = get_template_and_user( # 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;