X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fcontacts_new.html;h=a851d99edbddd2e016b57223dcc60e3a31d779e9;hb=92862c52a70620257a455b25c239ce03d1692608;hp=bd812c7e7f14e4f3bab08612b21c9833dfd371f0;hpb=b5c4237a34aef94976bc343c8d9e138664fc3984;p=freeside.git
diff --git a/httemplate/view/cust_main/contacts_new.html b/httemplate/view/cust_main/contacts_new.html
index bd812c7e7..a851d99ed 100644
--- a/httemplate/view/cust_main/contacts_new.html
+++ b/httemplate/view/cust_main/contacts_new.html
@@ -1,17 +1,38 @@
-% if ( @contacts ) {
-Contacts
-<% ntable("#cccccc",2) %>
+Contacts
+Edit contacts
+
Contact | +<% $contact->contact_classname %> Contact | <% $contact->line %> | + +% my @contact_email = $contact->contact_email; +% if (@contact_email) { +<% join(', ', map $_->emailaddress, @contact_email) %> | +% } + +% foreach my $phone_type (@phone_type) { +% my $contact_phone = +% qsearchs('contact_phone', { +% 'contactnum' => $contact->contactnum, +% 'phonetypenum' => $phone_type->phonetypenum, +% }) +% or next; +<% $phone_type->typename %> phone | +<% $contact_phone->phonenum_pretty |h %> | +% } +