use C4::Output;
use C4::Context;
use Koha::BiblioFrameworks;
+use Koha::Checkouts;
my $query = new CGI;
my ($template, $loggedinuser, $cookie, $flags) = get_template_and_user(
$template->{'VARS'}->{'AllowOfflineCirculation'} = C4::Context->preference('AllowOfflineCirculation');
-
output_html_with_http_headers $query, $cookie, $template->output;