%# 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.
%# 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 = map { $_->TargetURI->Resolver }
-% @{ $Ticket->Customers->ItemsArrayRef };
-%
-% foreach my $custResolver ( @cust ) {
+% foreach my $custnum (@{ $data{custnums} }) {
+% my $cust = $data{cust_main}{$custnum};
- <% $custResolver->AsStringLong |n %>
-%# includes service label and view/svc_ link for cust_svc links
+ <% $cust->AsStringLong |n %>
+% foreach my $svc ( @{ $data{cust_svc}{$custnum} || [] } ) {
+ <% $svc->AsString |n %>
+ <br>
+% }