attempt to get more information on errors using an RT-instansiated session??
[freeside.git] / rt / html / Ticket / Elements / ShowCustomers
1 %# Copyright (c) 2004 Ivan Kohler <ivan-rt@420.am>
2 %#
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
6 %# from www.gnu.org.
7 %# 
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.
12 <table>
13 % my $cust = 0;
14 % foreach my $custResolver ( map { $_->TargetURI->Resolver }
15 %                                @{ $Ticket->Customers->ItemsArrayRef }
16 %                          )
17 % {
18 %   $cust++;
19 %   my $cust_main = '';
20   <tr>
21     <td class="value">
22       <A HREF="<% $custResolver->HREF %>"><% $custResolver->AsStringLong |n %></A>
23     </td>
24   </tr>
25 % }
26 % unless ( $cust ) {
27   <tr>
28     <td class="labeltop">
29       <i>(none)<i>
30     </td>
31   </tr>
32
33 % }
34 </table>
35 <%ARGS>
36 $Ticket => undef
37 </%ARGS>
38