summaryrefslogtreecommitdiff
path: root/httemplate/view/cust_main/tickets.html
diff options
context:
space:
mode:
authorjeff <jeff>2007-08-16 13:40:46 +0000
committerjeff <jeff>2007-08-16 13:40:46 +0000
commit1293d137b061f097190eda53e4e78214e18832e6 (patch)
treeba1a26cd005b31a4e5cdf12ba1264d6cd06e736e /httemplate/view/cust_main/tickets.html
parentf20b5533fdb8f1f3510b5cf4efd1f4465f359420 (diff)
support hours 'usage' tracking for our own internal use (#1733)
Diffstat (limited to 'httemplate/view/cust_main/tickets.html')
-rw-r--r--httemplate/view/cust_main/tickets.html27
1 files changed, 1 insertions, 26 deletions
diff --git a/httemplate/view/cust_main/tickets.html b/httemplate/view/cust_main/tickets.html
index 84cc90299..c4183ae55 100644
--- a/httemplate/view/cust_main/tickets.html
+++ b/httemplate/view/cust_main/tickets.html
@@ -1,31 +1,6 @@
%
% my( $cust_main ) = @_;
-%
-% my $conf = new FS::Conf;
-% my $num = $conf->config('cust_main-max_tickets') || 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,
-% )
-% };
-% }
-%
-% }
-%
+% my( @tickets ) = $cust_main->tickets;
%
<A NAME="tickets"><FONT SIZE="+2">Tickets</FONT></A>