X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=httemplate%2Fsearch%2Freport_tax.cgi;h=d71fcf90be0e4c1cb37bac026adbe48cba2bf77b;hb=ff7b7921948cba175aa99974cda1c9c0080937c1;hp=479b990442e957a3b3777cecd04fcd1d443348f2;hpb=ded0ab5cac02f099b387de360fb6dd6bd8cbb6b4;p=freeside.git
diff --git a/httemplate/search/report_tax.cgi b/httemplate/search/report_tax.cgi
index 479b99044..d71fcf90b 100755
--- a/httemplate/search/report_tax.cgi
+++ b/httemplate/search/report_tax.cgi
@@ -15,8 +15,15 @@ Download full results
as Excel spreadsheet
+
<% include('/elements/table-grid.html') %>
-
+ <% $class->{classname} %> |
+
+% }
+
% my $bgcolor1 = '#eeeeee';
% my $bgcolor2 = '#ffffff';
% my $bgcolor;
-%
+
+% my @regions = @{ $class->{regions} };
% foreach my $region ( @regions ) {
%
% my $link = '';
+% if ( $with_pkgclass and length($class->{classnum}) ) {
+% $link = ';classnum='.$class->{classnum};
+% } # else we're not breaking down pkg class, or this is the grand total
+%
% if ( $region->{'label'} eq $out ) {
-% $link = ';out=1';
+% $link .= ';out=1';
% } elsif ( $region->{'taxnums'} ) {
% # might be nicer to specify this as country:state:city
-% $link = ';'.join(';', map { "taxnum=$_" } @{ $region->{'taxnums'} });
+% $link .= ';'.join(';', map { "taxnum=$_" } @{ $region->{'taxnums'} });
% }
%
% if ( $bgcolor eq $bgcolor1 ) {
@@ -87,15 +107,20 @@ as