From 5d0122106ded20db23f3c56be74413131eb4e286 Mon Sep 17 00:00:00 2001 From: ivan Date: Sun, 3 Jan 2010 06:42:05 +0000 Subject: [PATCH] moved to new location in RT 3.8 --- rt/html/Ticket/Elements/AddCustomers | 52 ----------------------------- rt/html/Ticket/Elements/EditCustomers | 63 ----------------------------------- rt/html/Ticket/Elements/ShowCustomers | 38 --------------------- 3 files changed, 153 deletions(-) delete mode 100644 rt/html/Ticket/Elements/AddCustomers delete mode 100644 rt/html/Ticket/Elements/EditCustomers delete mode 100644 rt/html/Ticket/Elements/ShowCustomers diff --git a/rt/html/Ticket/Elements/AddCustomers b/rt/html/Ticket/Elements/AddCustomers deleted file mode 100644 index e04c07702..000000000 --- a/rt/html/Ticket/Elements/AddCustomers +++ /dev/null @@ -1,52 +0,0 @@ -%# 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 -%# been provided with this software, but in any event can be snarfed -%# from www.gnu.org. -%# -%# This work is distributed in the hope that it will be useful, but -%# WITHOUT ANY WARRANTY; without even the implied warranty of -%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -%# General Public License for more details. -
-<%$msg%>
- -% if (@Customers) { - -
(Check box to link) - -% foreach my $customer (@Customers) { - - - -% } -
- > - <% &RT::URI::freeside::small_custview($customer->{'custnum'}, &RT::URI::freeside::FreesideGetConfig('countrydefault'), 1) |n %> -
- -% } - -<%INIT> -my ($msg); - -my $freeside_url = &RT::URI::freeside::FreesideURL(); - -my @Customers = (); -if ( $CustomerString ) { - @Customers = &RT::URI::freeside::smart_search( 'search' => $CustomerString ); -} - -my @Services = (); -if ($ServiceString) { - @Services = (); #service_search(); -} - - - -<%ARGS> -$CustomerString => undef -$ServiceString => undef - diff --git a/rt/html/Ticket/Elements/EditCustomers b/rt/html/Ticket/Elements/EditCustomers deleted file mode 100644 index 0ba6e447b..000000000 --- a/rt/html/Ticket/Elements/EditCustomers +++ /dev/null @@ -1,63 +0,0 @@ -%# 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 -%# been provided with this software, but in any event can be snarfed -%# from www.gnu.org. -%# -%# This work is distributed in the hope that it will be useful, but -%# WITHOUT ANY WARRANTY; without even the implied warranty of -%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -%# General Public License for more details. - - - - - - -
-

<&|/l&>Current Customers

- - - - - - - - -
<&|/l&>(Check box to disassociate)
-% foreach my $link ( @{ $Ticket->Customers->ItemsArrayRef } ) { - - -%# <& ShowLink, URI => $link->TargetURI &>
- <% $link->TargetURI->Resolver->AsStringLong |n %> -
-% } -
- -
-

<&|/l&>New Customer Links

-<&|/l&>Find customer
- - -
cust #, name, company or phone -
-%#
-%#<&|/l&>Find service
-%# -%# -%#
username, username@domain, domain, or IP address -%#
- -<& AddCustomers, Ticket => $Ticket, - CustomerString => $CustomerString, - ServiceString => $ServiceString, &> - -
- -<%ARGS> -$CustomerString => undef -$ServiceString => undef -$Ticket => undef - diff --git a/rt/html/Ticket/Elements/ShowCustomers b/rt/html/Ticket/Elements/ShowCustomers deleted file mode 100644 index 3acf92dd4..000000000 --- a/rt/html/Ticket/Elements/ShowCustomers +++ /dev/null @@ -1,38 +0,0 @@ -%# Copyright (c) 2004 Ivan Kohler -%# -%# 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 -%# been provided with this software, but in any event can be snarfed -%# from www.gnu.org. -%# -%# This work is distributed in the hope that it will be useful, but -%# WITHOUT ANY WARRANTY; without even the implied warranty of -%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -%# General Public License for more details. - -% my $cust = 0; -% foreach my $custResolver ( map { $_->TargetURI->Resolver } -% @{ $Ticket->Customers->ItemsArrayRef } -% ) -% { -% $cust++; -% my $cust_main = ''; - - - -% } -% unless ( $cust ) { - - - - -% } -
- <% $custResolver->AsStringLong |n %> -
- (none) -
-<%ARGS> -$Ticket => undef - - -- 2.11.0