my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
{
my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
{
- template_name => "patroncards/print.tmpl",
+ template_name => "patroncards/print.tt",
query => $cgi,
type => "intranet",
query => $cgi,
type => "intranet",
- authnotrequired => 0,
- flagsrequired => { catalogue => 1 },
- debug => 1,
+ flagsrequired => { tools => 'label_creator' },
}
);
my $op = $cgi->param('op') || 'none';
}
);
my $op = $cgi->param('op') || 'none';
-my @label_ids = $cgi->param('label_id') if $cgi->param('label_id'); # this will handle individual card printing; we use label_id to maintain consistency with the column names in the creator_batches table
-my @batch_ids = $cgi->param('batch_id') if $cgi->param('batch_id');
+my @label_ids = $cgi->multi_param('label_id'); # this will handle individual card printing; we use label_id to maintain consistency with the column names in the creator_batches table