clean up the customer view a tiny bit
authorivan <ivan>
Mon, 9 Oct 2006 00:26:27 +0000 (00:26 +0000)
committerivan <ivan>
Mon, 9 Oct 2006 00:26:27 +0000 (00:26 +0000)
httemplate/view/cust_main.cgi
httemplate/view/cust_main/tickets.html

index 6b22777..96acf15 100755 (executable)
@@ -102,8 +102,7 @@ var confirm_cancel = '<FORM METHOD="POST" ACTION="<% $p %>misc/cust_main-cancel.
 </TR>
 </TABLE>
 %
-%if ( defined $cust_main->dbdef_table->column('comments')
-%     && $cust_main->comments =~ /[^\s\n\r]/              ) {
+%if ( $cust_main->comments =~ /[^\s\n\r]/ ) {
 %
 
 <BR>
@@ -137,16 +136,14 @@ Comments
   <div><br>[iframe not supported]<br><br></div>
 </iframe>
 
-%   } else {
-
-<BR>
 %   }
+
 % }
 
 
 % if ( $conf->config('ticket_system') ) { 
 
-  <BR>
+  <BR><BR>
   <% include('cust_main/tickets.html', $cust_main ) %>
 % } 
 
index 65cdcbf..84cc902 100644 (file)
@@ -28,8 +28,9 @@
 %
 %
 
+<A NAME="tickets"><FONT SIZE="+2">Tickets</FONT></A>
+<BR>
 
-Highest priority tickets
 (<A HREF="<% FS::TicketSystem->href_customer_tickets($cust_main->custnum) %>">View all tickets for this customer</A>)
 (<A HREF="<% FS::TicketSystem->href_new_ticket($cust_main, join(', ', grep { $_ !~ /^(POST|FAX)$/ } $cust_main->invoicing_list ) ) %>">New ticket for this customer</A>)