1 %# Copyright (c) 2004 Ivan Kohler <ivan-rt@420.am>
3 %# This work is made available to you under the terms of Version 2 of
4 %# the GNU General Public License. A copy of that license should have
5 %# been provided with this software, but in any event can be snarfed
8 %# This work is distributed in the hope that it will be useful, but
9 %# WITHOUT ANY WARRANTY; without even the implied warranty of
10 %# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 %# General Public License for more details.
17 <br><i>(Check box to link)<i>
19 % foreach my $customer (@Customers) {
22 <input type="checkbox" name="Ticket-AddCustomer-<% $customer->{'custnum'} %>" VALUE="1" <% scalar(@Customers) == 1 ? 'CHECKED' : '' %>>
23 <A HREF="<%$freeside_url%>/view/cust_main.cgi?<% $customer->{'custnum'} %>"><% &RT::URI::freeside::small_custview($customer->{'custnum'}, &RT::URI::freeside::FreesideGetConfig('countrydefault'), 1) |n %>
33 my $freeside_url = &RT::URI::freeside::FreesideURL();
36 if ( $CustomerString ) {
37 @Customers = &RT::URI::freeside::smart_search( 'search' => $CustomerString );
42 @Services = (); #service_search();
48 $CustomerString => undef
49 $ServiceString => undef