% if ( @contacts ) {
Contacts <% ntable("#cccccc",2) %> % foreach my $contact ( @contacts ) { Contact <% $contact->line %> % } % } <%init> my( $cust_main ) = @_; #my $conf = new FS::Conf; my @contacts = $cust_main->cust_contact;