X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fcontacts_new.html;h=590409df9df4defece752bf37fdb652ff1aee731;hb=3e9a428cbc8abd4af6fea8eb828126519b43198b;hp=155490fe194a13a9afae5ab9488c70d30de35356;hpb=83f70978574fef3401020cb11cf651d12c139b3b;p=freeside.git
diff --git a/httemplate/view/cust_main/contacts_new.html b/httemplate/view/cust_main/contacts_new.html
index 155490fe1..590409df9 100644
--- a/httemplate/view/cust_main/contacts_new.html
+++ b/httemplate/view/cust_main/contacts_new.html
@@ -1,39 +1,68 @@
+%if ( @cust_contacts ) {
Contacts
-Edit contacts
-
'; + | |||||||
---|---|---|---|---|---|---|---|
); + | |||||||
<% $contact->contact_classname %> Contact | -<% $contact->line %> | + <%$td%><% $cust_contact->contact_classname |h %> + <%$td%><% $contact->line |h %> % my @contact_email = $contact->contact_email; -% if (@contact_email) { -<% join(', ', map $_->emailaddress, @contact_email) %> | -% } + <%$td%><% join(', ', map $_->emailaddress, @contact_email) %> + + <%$td%> +% if ( $cust_contact->selfservice_access ) { + Enabled +%# disable +%# re-email +% } else { + Disabled +%# enable +% } + % 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 |h %> | +% }); + <%$td%><% $contact_phone ? $contact_phone->phonenum_pretty : '' |h %> % } -% if ( $contact->comment ) { -Comment | -<% $contact->comment |h %> | - -% } + <%$td%><% $cust_contact->comment |h %>