From 0a4a314b33a22b314ac5c4c85840a4bbff49cdf3 Mon Sep 17 00:00:00 2001 From: ivan Date: Fri, 27 Jan 2006 07:34:17 +0000 Subject: small visual fix to alternating row colors when show_taxclasses is on --- httemplate/search/report_tax.cgi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/httemplate/search/report_tax.cgi b/httemplate/search/report_tax.cgi index b1c6d3809..61ed26fac 100755 --- a/httemplate/search/report_tax.cgi +++ b/httemplate/search/report_tax.cgi @@ -413,6 +413,8 @@ my $exemptlink = $p. "search/cust_tax_exempt_pkg.cgi?$dateagentlink"; <% #some false laziness w/above + $bgcolor1 = '#eeeeee'; + $bgcolor2 = '#ffffff'; foreach my $region ( @base_regions ) { if ( $bgcolor eq $bgcolor1 ) { @@ -440,6 +442,14 @@ my $exemptlink = $p. "search/cust_tax_exempt_pkg.cgi?$dateagentlink"; <% } %> + <% + if ( $bgcolor eq $bgcolor1 ) { + $bgcolor = $bgcolor2; + } else { + $bgcolor = $bgcolor1; + } + %> + Total -- cgit v1.2.1