[freeside-commits] freeside/httemplate/browse cust_main_county.cgi, 1.30.4.3, 1.30.4.4

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


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

Modified Files:
      Tag: FREESIDE_2_1_BRANCH
	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.30.4.3
retrieving revision 1.30.4.4
diff -u -w -d -r1.30.4.3 -r1.30.4.4
--- cust_main_county.cgi	30 Jan 2011 07:02:49 -0000	1.30.4.3
+++ cust_main_county.cgi	30 Jan 2011 07:13:45 -0000	1.30.4.4
@@ -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