diff options
author | ivan <ivan> | 2002-09-21 11:17:39 +0000 |
---|---|---|
committer | ivan <ivan> | 2002-09-21 11:17:39 +0000 |
commit | 8965012fa53fd05d851d2f5abed4e056ab758797 (patch) | |
tree | 819fc50e7c8292a2aede31b5d46fe1269a844733 /httemplate/browse | |
parent | bfd2c9a7e80f665beca0254065d3f3c7945c23ca (diff) |
all taxes now have names. closes: Bug#15
Diffstat (limited to 'httemplate/browse')
-rwxr-xr-x | httemplate/browse/cust_main_county.cgi | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/httemplate/browse/cust_main_county.cgi b/httemplate/browse/cust_main_county.cgi index 991606087..c2473c4c8 100755 --- a/httemplate/browse/cust_main_county.cgi +++ b/httemplate/browse/cust_main_county.cgi @@ -21,7 +21,8 @@ print '<BR><BR>'. &table(). <<END; <TH><FONT SIZE=-1>Country</FONT></TH> <TH><FONT SIZE=-1>State</FONT></TH> <TH>County</TH> - <TH>Taxclass</TH> + <TH>Taxclass<BR><FONT SIZE=-1>(per-package classification)</FONT></TH> + <TH>Tax name<BR><FONT SIZE=-1>(printed on invoices)</FONT></TH> <TH><FONT SIZE=-1>Tax</FONT></TH> <TH><FONT SIZE=-1>Exempt<BR>per<BR>month</TH> </TR> @@ -111,6 +112,14 @@ END } print "</TD>"; + print "<TD"; + if ( $hashref->{taxname} ) { + print ' BGCOLOR="#ffffff">'. $hashref->{taxname}; + } else { + print ' BGCOLOR="#cccccc">Tax'; + } + print "</TD>"; + print "<TD BGCOLOR=\"#ffffff\">$hashref->{tax}%</TD>". '<TD BGCOLOR="#ffffff">$'. sprintf("%.2f", $hashref->{exempt_amount} || 0). '</TD>'. |