summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorivan <ivan>2011-01-30 07:13:44 +0000
committerivan <ivan>2011-01-30 07:13:44 +0000
commite1e4a5000314d7ee9b52e2b8a87787705062f411 (patch)
tree4ac839ba03bdb05f73926782b0aa3e987572b00e /httemplate
parent9390236b83a34eec816ce73e155517339806187a (diff)
improve tax edit UI: add more cities & remove individual cities, RT#11144
Diffstat (limited to 'httemplate')
-rwxr-xr-xhttemplate/browse/cust_main_county.cgi11
1 files changed, 5 insertions, 6 deletions
diff --git a/httemplate/browse/cust_main_county.cgi b/httemplate/browse/cust_main_county.cgi
index 58ae5501b..2a21da150 100755
--- a/httemplate/browse/cust_main_county.cgi
+++ b/httemplate/browse/cust_main_county.cgi
@@ -46,7 +46,7 @@ my $exempt_sub = sub {
};
my $cs_oldrow;
-my $cell_style;
+my $cell_style = '';
my $cell_style_sub = sub {
my $row = shift;
if ( $cs_oldrow ne $row ) {
@@ -54,11 +54,10 @@ my $cell_style_sub = sub {
if ( $cs_oldrow->country ne $row->country ) {
$cell_style = 'border-top:2px solid #000000';
} elsif ( $cs_oldrow->state ne $row->state ) {
- #$cell_style = 'border-top:1px solid #cccccc'; #default?
- $cell_style = 'border-top:1px solid #bbbbbb';
- } elsif ( $cs_oldrow->state eq $row->state ) {
- #$cell_style = 'border-top:dashed 1px dark gray';
- #$cell_style = 'border-top:1px dashed #cccccc';
+ $cell_style = 'border-top:1px solid #888888';
+ } elsif ( $cs_oldrow->county ne $row->county ) {
+ $cell_style = 'border-top:1px solid #cccccc';
+ } else {
$cell_style = '';
}
}