ui tweak for small customer view - line up billing and service address boxes
authorivan <ivan>
Fri, 10 Dec 2004 22:28:25 +0000 (22:28 +0000)
committerivan <ivan>
Fri, 10 Dec 2004 22:28:25 +0000 (22:28 +0000)
FS/FS/CGI.pm

index a4fc42f..9dc635a 100644 (file)
@@ -298,7 +298,7 @@ sub small_custview {
   my $html = 'Customer #<B>'. $cust_main->custnum. '</B></A>'.
     ' - <B><FONT COLOR="'. $cust_main->statuscolor. '">'.
     ucfirst($cust_main->status). '</FONT></B>'.
   my $html = 'Customer #<B>'. $cust_main->custnum. '</B></A>'.
     ' - <B><FONT COLOR="'. $cust_main->statuscolor. '">'.
     ucfirst($cust_main->status). '</FONT></B>'.
-    ntable('#e8e8e8'). '<TR><TD>'. ntable("#cccccc",2).
+    ntable('#e8e8e8'). '<TR><TD VALIGN="top">'. ntable("#cccccc",2).
     '<TR><TD ALIGN="right" VALIGN="top">Billing<BR>Address</TD><TD BGCOLOR="#ffffff">'.
     $cust_main->getfield('last'). ', '. $cust_main->first. '<BR>';
 
     '<TR><TD ALIGN="right" VALIGN="top">Billing<BR>Address</TD><TD BGCOLOR="#ffffff">'.
     $cust_main->getfield('last'). ', '. $cust_main->first. '<BR>';
 
@@ -329,7 +329,7 @@ sub small_custview {
 
     my $pre = $cust_main->ship_last ? 'ship_' : '';
 
 
     my $pre = $cust_main->ship_last ? 'ship_' : '';
 
-    $html .= '<TD>'. ntable("#cccccc",2).
+    $html .= '<TD VALIGN="top">'. ntable("#cccccc",2).
       '<TR><TD ALIGN="right" VALIGN="top">Service<BR>Address</TD><TD BGCOLOR="#ffffff">'.
       $cust_main->get("${pre}last"). ', '.
       $cust_main->get("${pre}first"). '<BR>';
       '<TR><TD ALIGN="right" VALIGN="top">Service<BR>Address</TD><TD BGCOLOR="#ffffff">'.
       $cust_main->get("${pre}last"). ', '.
       $cust_main->get("${pre}first"). '<BR>';