=cut
my $input = new CGI;
-my $templatename = "reports/serials_stats.tmpl";
+my $templatename = "reports/serials_stats.tt";
my $do_it = $input->param("do_it");
my $bookseller = $input->param("bookseller");
my $branchcode = $input->param("branchcode");
my @datas;
while(my $row = $sth->fetchrow_hashref){
- $row->{'enddate'} = format_date(GetExpirationDate($row->{'subscriptionid'}));
- $row->{'startdate'} = format_date($row->{'startdate'});
+ $row->{'enddate'} = GetExpirationDate($row->{'subscriptionid'});
$row->{expired} = HasSubscriptionExpired($row->{subscriptionid});
push @datas, $row if (
$expired
push(@booksellers,$row)
}
- my $CGIextChoice=CGI::scrolling_list(
- -name => 'MIME',
- -id => 'MIME',
- -values => ['CSV'], # FIXME translation
- -size => 1,
- -multiple => 0 );
+ my $CGIextChoice = ( 'CSV' ); # FIXME translation
my $CGIsepChoice=GetDelimiterChoices;
$template->param(
CGIextChoice => $CGIextChoice,