[freeside-commits] freeside/httemplate/view/cust_main tickets.html, 1.8, 1.9
Jeff Finucane,420,,
jeff at wavetail.420.am
Thu Aug 16 06:40:48 PDT 2007
Update of /home/cvs/cvsroot/freeside/httemplate/view/cust_main
In directory wavetail:/tmp/cvs-serv28263/httemplate/view/cust_main
Modified Files:
tickets.html
Log Message:
support hours 'usage' tracking for our own internal use (#1733)
Index: tickets.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/cust_main/tickets.html,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- tickets.html 9 Oct 2006 00:26:27 -0000 1.8
+++ tickets.html 16 Aug 2007 13:40:46 -0000 1.9
@@ -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>
More information about the freeside-commits
mailing list