summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorivan <ivan>2007-11-14 23:10:26 +0000
committerivan <ivan>2007-11-14 23:10:26 +0000
commit300cc462cd5427c49369dc72ef6782e96eee7ef0 (patch)
treeded6e00f3ae22d6753dfbd983502299a0642d2ee /httemplate
parentf3c77a2dc43fc5db9c368ec618d7ece5e300ac3a (diff)
add link to resolved tickets too
Diffstat (limited to 'httemplate')
-rw-r--r--httemplate/view/cust_main/tickets.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/httemplate/view/cust_main/tickets.html b/httemplate/view/cust_main/tickets.html
index 84cc90299..4f7a231e4 100644
--- a/httemplate/view/cust_main/tickets.html
+++ b/httemplate/view/cust_main/tickets.html
@@ -31,8 +31,10 @@
<A NAME="tickets"><FONT SIZE="+2">Tickets</FONT></A>
<BR>
-(<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>)
+(<A HREF="<% FS::TicketSystem->href_customer_tickets($cust_main->custnum) %>">View <% join('/', FS::TicketSystem->statuses ) %> tickets for this customer</A>)
+(<A HREF="<% FS::TicketSystem->href_customer_tickets($cust_main->custnum, { 'statuses' => [ 'resolved' ] } ) %>">View resolved tickets for this customer</A>)
+<BR>
+(<A HREF="<% FS::TicketSystem->href_new_ticket($cust_main, join(', ', grep { $_ !~ /^(POST|FAX)$/ } $cust_main->invoicing_list ) ) %>">Create new ticket for this customer</A>)
<% include("/elements/table-grid.html") %>
% my $bgcolor1 = '#eeeeee';