use C4::Items;
use C4::Koha; # GetItemTypes
use C4::HoldsQueue qw(GetHoldsQueueItems);
+use Koha::BiblioFrameworks;
my $query = new CGI;
-my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
+my ( $template, $loggedinuser, $cookie, $flags ) = get_template_and_user(
{
template_name => "circ/view_holdsqueue.tt",
query => $query,
itemtypeloop => \@itemtypesloop,
);
+# Checking if there is a Fast Cataloging Framework
+$template->param( fast_cataloging => 1 ) if Koha::BiblioFrameworks->find( 'FA' );
+
# writing the template
output_html_with_http_headers $query, $cookie, $template->output;