From: Ivan Kohler Date: Thu, 23 Feb 2012 06:06:53 +0000 (-0800) Subject: add rows #s to fcc 477 census report X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=ca5a413a55b44c8db7dd918ae59f5b4ee6464f19 add rows #s to fcc 477 census report --- diff --git a/httemplate/search/477partVI_census.html b/httemplate/search/477partVI_census.html index be3a9c057..e283b1e3c 100755 --- a/httemplate/search/477partVI_census.html +++ b/httemplate/search/477partVI_census.html @@ -76,7 +76,6 @@ push @fields, }, sub { my $row = shift; sprintf "%.2f", $row->residential }, ; -push @links, ( [ $link, $link_suffix ] x 8 ); my %search_hash = (); my @sql_query = (); @@ -137,6 +136,7 @@ my $count_query = 'SELECT count(*) FROM ( ('. @sql_query ). ') ) AS foo'; + my $link = 'cust_pkg.cgi?'. join(';', map { my $key = $_; my @values = ref($search_hash{$_}) @@ -158,6 +158,9 @@ my $link_suffix = sub { my $row = shift; $result; }; +push @links, ( [ $link, $link_suffix ] x 8 ); + + my $html_foot = sub { if (scalar(keys %state_hash) > 1) {