X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fcontacts_new.html;h=590409df9df4defece752bf37fdb652ff1aee731;hb=3e9a428cbc8abd4af6fea8eb828126519b43198b;hp=f73483ae1e0d031f963a418ff8f9d69f4d1116d5;hpb=cb6cca67db487271ce96b49289ada58691a2067d;p=freeside.git
diff --git a/httemplate/view/cust_main/contacts_new.html b/httemplate/view/cust_main/contacts_new.html
index f73483ae1..590409df9 100644
--- a/httemplate/view/cust_main/contacts_new.html
+++ b/httemplate/view/cust_main/contacts_new.html
@@ -1,31 +1,38 @@
+%if ( @cust_contacts ) {
Contacts
-Edit contacts
<& /elements/table-grid.html &>
-% my $bgcolor1 = '#eeeeee';
-% my $bgcolor2 = '#ffffff';
-% my $bgcolor = $bgcolor2;
+
+% my $th = '';
-
+
+
+% my $bgcolor1 = '#ffffff';
+% my $bgcolor2 = '#eeeeee';
+% my $bgcolor = $bgcolor2;
+% foreach my $cust_contact ( @cust_contacts ) {
+% my $contact = $cust_contact->contact;
+% my $td = qq(Type
- Contact
- Email
- Self-service
+ <%$th%>Type
+ <%$th%>Contact
+ <%$th%>Email
+ <%$th%>Self-service
% foreach my $phone_type (@phone_type) {
- <% $phone_type->typename |h %> phone
+ <%$th%><% $phone_type->typename |h %>
% }
+ <%$th%>Comment