diff options
| author | cvs2git <cvs2git> | 2006-01-05 09:34:30 +0000 |
|---|---|---|
| committer | cvs2git <cvs2git> | 2006-01-05 09:34:30 +0000 |
| commit | 0c525f3ba7b2b6730b8939b950e4d76dd16802a9 (patch) | |
| tree | 9d0c5411f52238759ca3484d5ecc036dc6905414 /httemplate/view/cust_main/tickets.html | |
| parent | 8f5c91d6c7a8dc85a8b6768a149b4c7b3e144c38 (diff) | |
This commit was manufactured by cvs2svn to create tag 'SQL_LEDGER_2_4_4'.SQL_LEDGER_2_4_4
Diffstat (limited to 'httemplate/view/cust_main/tickets.html')
| -rw-r--r-- | httemplate/view/cust_main/tickets.html | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/httemplate/view/cust_main/tickets.html b/httemplate/view/cust_main/tickets.html deleted file mode 100644 index 72d68152a..000000000 --- a/httemplate/view/cust_main/tickets.html +++ /dev/null @@ -1,54 +0,0 @@ -<% - my( $cust_main ) = @_; - - my $conf = new FS::Conf; - my $num = 10; - - my @tickets = (); - unless ( $conf->config('ticket_system-custom_priority_field') ) { - - @tickets = - @{ FS::TicketSystem->customer_tickets($cust_main->custnum, $num) }; - - } else { - - foreach my $priority ( - $conf->config('ticket_system-custom_priority_field-values'), '' - ) { - last if scalar(@tickets) >= $num; - push @tickets, - @{ FS::TicketSystem->customer_tickets( $cust_main->custnum, - $num - scalar(@tickets), - $priority, - ) - }; - } - - } - -%> - -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>) -<%= table() %> -<TR> - <TH>#</TH> - <TH>Subject</TH> - <TH>Priority</TH> - <TH>Queue</TH> - <TH>Status</TH> -</TR> -<% foreach my $ticket ( @tickets ) { - my $href = FS::TicketSystem->href_ticket($ticket->{id}); -%> -<TR> - <TD><A HREF=<%=$href%>><%= $ticket->{id} %></A></TD> - <TD><A HREF=<%=$href%>><%= $ticket->{subject} %></A></TD> - <TD ALIGN="right"><%= $ticket->{content} || $ticket->{priority} %></TD> - <TD><%= $ticket->{name} %></TD> - <TD><%= $ticket->{status} %></TD> -</TR> -<% } %> -</TABLE> - |
