summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2011-01-30 07:13:45 +0000
committerivan <ivan>2011-01-30 07:13:45 +0000
commit8f1cccb810e60497f36e7832d92c058cbfe18b6d (patch)
tree78555400e16ea6e987361f55066b572f192c4cb9
parent8c33a2406cf88bcb1a9e0079337b52db17d8c466 (diff)
improve tax edit UI: add more cities & remove individual cities, RT#11144
-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 = '';
}
}