summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authormark <mark>2011-03-04 02:26:15 +0000
committermark <mark>2011-03-04 02:26:15 +0000
commitbd4cf157ffed8f1191724c1975866c3d21fb30df (patch)
tree69c671672da4d5ddccc05de5a392bd8cb10da786 /httemplate
parent93ccbad65ffe1726adc038d8e4e05c4100b0c11c (diff)
option to override requestor in new tickets, #7777
Diffstat (limited to 'httemplate')
-rw-r--r--httemplate/elements/dashboard-toplist.html4
-rw-r--r--httemplate/view/cust_main/tickets.html10
2 files changed, 6 insertions, 8 deletions
diff --git a/httemplate/elements/dashboard-toplist.html b/httemplate/elements/dashboard-toplist.html
index d8cd7f306..6e250b6a3 100644
--- a/httemplate/elements/dashboard-toplist.html
+++ b/httemplate/elements/dashboard-toplist.html
@@ -27,7 +27,9 @@
<% include('/elements/mcp_lint.html', 'cust_main'=>$cust_main) %>
</TD>
<TD CLASS="grid" BGCOLOR="<% $bgcolor %>" ALIGN="right">
- <FONT SIZE="-1"><A HREF="<% FS::TicketSystem->href_new_ticket($cust_main, join(', ', grep { $_ !~ /^(POST|FAX)$/ } $cust_main->invoicing_list ) ) %>">(new ticket)</A></FONT>
+ <FONT SIZE="-1">
+ <A HREF="<% FS::TicketSystem->href_new_ticket($cust_main) %>">(new ticket)</A>
+ </FONT>
</TD>
% foreach my $priority ( @custom_priorities, '' ) {
diff --git a/httemplate/view/cust_main/tickets.html b/httemplate/view/cust_main/tickets.html
index eea5a7f98..064f51147 100644
--- a/httemplate/view/cust_main/tickets.html
+++ b/httemplate/view/cust_main/tickets.html
@@ -106,13 +106,9 @@ my $res_link = FS::TicketSystem->href_customer_tickets(
{ 'statuses' => [ 'resolved' ] }
);
-my( $new_base, %new_param ) = FS::TicketSystem->href_params_new_ticket(
- $cust_main,
- join(', ', $cust_main->invoicing_list_emailonly ) );
+my( $new_base, %new_param ) =
+ FS::TicketSystem->href_params_new_ticket( $cust_main );
-my $new_link = FS::TicketSystem->href_new_ticket(
- $cust_main,
- join(', ', $cust_main->invoicing_list_emailonly )
- );
+my $new_link = FS::TicketSystem->href_new_ticket( $cust_main );
</%init>