X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=reports%2Fserials_stats.pl;h=c7644c84f0cb49ece0457fb2ea7c5928d4b89498;hb=75ab7ea5e189e5e13ba8fa322863a62959b972b2;hp=36f7cc5d5ddfde2e6567c204f9964a6f47622bea;hpb=c39380ed4e3fbc3615dcbbd09800605102dcde57;p=koha-ffzg.git diff --git a/reports/serials_stats.pl b/reports/serials_stats.pl index 36f7cc5d5d..c7644c84f0 100755 --- a/reports/serials_stats.pl +++ b/reports/serials_stats.pl @@ -40,7 +40,7 @@ plugin that shows a stats on serials =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"); @@ -94,8 +94,7 @@ if($do_it){ 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 @@ -151,12 +150,7 @@ if($do_it){ 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,