use C4::Auth qw(get_template_and_user);
use C4::Output qw(output_html_with_http_headers);
-use autouse 'C4::Branch' => qw(get_branch_code_from_name);
use C4::Creators;
use C4::Patroncards;
use C4::Labels;
my $cgi = new CGI;
my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
{
- template_name => "patroncards/manage.tmpl",
+ template_name => "patroncards/manage.tt",
query => $cgi,
type => "intranet",
authnotrequired => 0,
$template->param(print => 1) if ($card_element eq 'batch');
$template->param(
- error => ($errstr ? 1 : 0),
- $errstr => 1,
+ error => $errstr,
);
$template->param(
op => $op,