From: ivan Date: Fri, 27 Jan 2006 07:34:17 +0000 (+0000) Subject: small visual fix to alternating row colors when show_taxclasses is on X-Git-Tag: BEFORE_FINAL_MASONIZE~227 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=0a4a314b33a22b314ac5c4c85840a4bbff49cdf3 small visual fix to alternating row colors when show_taxclasses is on --- 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