diff options
Diffstat (limited to 'httemplate/edit/cust_main_county.cgi')
-rwxr-xr-x | httemplate/edit/cust_main_county.cgi | 29 |
1 files changed, 19 insertions, 10 deletions
diff --git a/httemplate/edit/cust_main_county.cgi b/httemplate/edit/cust_main_county.cgi index a11711770..7ef37a48d 100755 --- a/httemplate/edit/cust_main_county.cgi +++ b/httemplate/edit/cust_main_county.cgi @@ -14,8 +14,10 @@ print qq!<FORM ACTION="!, popurl(1), <TR> <TH><FONT SIZE=-1>Country</FONT></TH> <TH><FONT SIZE=-1>State</FONT></TH> - <TH>County</TH> + <TH><FONT SIZE=-1>County</FONT></TH> + <TH><FONT SIZE=-1>Taxclass</FONT></TH> <TH><FONT SIZE=-1>Tax</FONT></TH> + <TH><FONT SIZE=-1>Exempt<BR>per<BR>month</TH> </TR> END @@ -26,22 +28,29 @@ foreach my $cust_main_county ( sort { $a->country cmp $b->country my($hashref)=$cust_main_county->hashref; print <<END; <TR> - <TD>$hashref->{country}</TD> + <TD BGCOLOR="#ffffff">$hashref->{country}</TD> END - print "<TD>", $hashref->{state} - ? $hashref->{state} - : '(ALL)' + print "<TD", $hashref->{state} + ? ' BGCOLOR="#ffffff">'.$hashref->{state} + : ' BGCOLOR="#cccccc">(ALL)' , "</TD>"; - print "<TD>", $hashref->{county} - ? $hashref->{county} - : '(ALL)' + print "<TD", $hashref->{county} + ? ' BGCOLOR="#ffffff">'. $hashref->{county} + : ' BGCOLOR="#cccccc">(ALL)' + , "</TD>"; + + print "<TD", $hashref->{taxclass} + ? ' BGCOLOR="#ffffff">'. $hashref->{taxclass} + : ' BGCOLOR="#cccccc">(ALL)' , "</TD>"; print qq!<TD><INPUT TYPE="text" NAME="tax!, $hashref->{taxnum}, - qq!" VALUE="!, $hashref->{tax}, qq!" SIZE=6 MAXLENGTH=6>%</TD></TR>!; -END + qq!" VALUE="!, $hashref->{tax}, qq!" SIZE=6 MAXLENGTH=6>%</TD>!; + print qq!<TD>\$<INPUT TYPE="text" NAME="exempt_amount!, $hashref->{taxnum}, + qq!" VALUE="!, $hashref->{exempt_amount}||0, qq!" SIZE=6></TD>!; + print '</TR>'; } |