[freeside-commits] freeside/httemplate/browse cust_main_county.cgi, 1.33, 1.34

Ivan,,, ivan at wavetail.420.am
Sat Jan 29 23:13:46 PST 2011


Update of /home/cvs/cvsroot/freeside/httemplate/browse
In directory wavetail.420.am:/tmp/cvs-serv2867/browse

Modified Files:
	cust_main_county.cgi 
Log Message:
improve tax edit UI: add more cities & remove individual cities, RT#11144

Index: cust_main_county.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/browse/cust_main_county.cgi,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -w -d -r1.33 -r1.34
--- cust_main_county.cgi	30 Jan 2011 07:02:47 -0000	1.33
+++ cust_main_county.cgi	30 Jan 2011 07:13:44 -0000	1.34
@@ -46,7 +46,7 @@
 };
 
 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 @@
       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 = '';
       }
     }



More information about the freeside-commits mailing list