From 2e6530efbcd472ebbb2c47346f0c08fbf80e7a6c Mon Sep 17 00:00:00 2001 From: ivan Date: Mon, 24 Mar 2008 03:08:11 +0000 Subject: woo! final part of #1160! yup, auto-associating tickets with customers now. whew! --- rt/html/Ticket/Elements/EditCustomers | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'rt/html/Ticket/Elements/EditCustomers') diff --git a/rt/html/Ticket/Elements/EditCustomers b/rt/html/Ticket/Elements/EditCustomers index c5a6f708c..0ba6e447b 100644 --- a/rt/html/Ticket/Elements/EditCustomers +++ b/rt/html/Ticket/Elements/EditCustomers @@ -1,4 +1,5 @@ %# Copyright (c) 2004 Ivan Kohler +%# Copyright (c) 2008 Freeside Internet Services, Inc. %# %# This work is made available to you under the terms of Version 2 of %# the GNU General Public License. A copy of that license should have @@ -20,12 +21,7 @@ -% #while (my $link = $Ticket->MemberOf->Next) { -% foreach my $link ( -% grep { $_->TargetURI->Resolver->{'fstable'} eq 'cust_main' } -% grep { $_->TargetURI->Scheme eq 'freeside' } -% @{ $Ticket->_Links('Base')->ItemsArrayRef } -% ) { +% foreach my $link ( @{ $Ticket->Customers->ItemsArrayRef } ) { %# <& ShowLink, URI => $link->TargetURI &>
-- cgit v1.2.1