use C4::Auth qw/:DEFAULT get_session/;
use C4::Output;
use C4::Circulation;
+use C4::Koha;
use Koha::DateUtils;
use Koha::Database;
+use Koha::BiblioFrameworks;
my $cgi = new CGI;
-my ( $template, $librarian, $cookie ) = get_template_and_user(
+my ( $template, $librarian, $cookie, $flags ) = get_template_and_user(
{
template_name => "circ/renew.tt",
query => $cgi,
);
}
+# Checking if there is a Fast Cataloging Framework
+$template->param( fast_cataloging => 1 ) if Koha::BiblioFrameworks->find( 'FA' );
+
output_html_with_http_headers( $cgi, $cookie, $template->output );