diff options
author | ivan <ivan> | 2006-10-09 00:26:27 +0000 |
---|---|---|
committer | ivan <ivan> | 2006-10-09 00:26:27 +0000 |
commit | 17fa39cf364f9876d41c033f63ef0b4f6f8b1bb7 (patch) | |
tree | 8125d09ae1f159527ea37ae93f4e183836aecb0a | |
parent | bb04a0b87f89345d98c43aca0586e88f6e963e16 (diff) |
clean up the customer view a tiny bit
-rwxr-xr-x | httemplate/view/cust_main.cgi | 9 | ||||
-rw-r--r-- | httemplate/view/cust_main/tickets.html | 3 |
2 files changed, 5 insertions, 7 deletions
diff --git a/httemplate/view/cust_main.cgi b/httemplate/view/cust_main.cgi index 6b2277756..96acf15eb 100755 --- a/httemplate/view/cust_main.cgi +++ b/httemplate/view/cust_main.cgi @@ -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 ) %> % } diff --git a/httemplate/view/cust_main/tickets.html b/httemplate/view/cust_main/tickets.html index 65cdcbfa7..84cc90299 100644 --- a/httemplate/view/cust_main/tickets.html +++ b/httemplate/view/cust_main/tickets.html @@ -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>) |