X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fcontacts_new.html;h=94488670df7f7e9a8af76767f15727b480c1073f;hb=cf54023e010df76e0c39ac70902877d7c4c94c6e;hp=9a03410bf194c5cc58cc1a42514f25f45b781c47;hpb=5561349c87fdcc646c18010ea57925f90170f321;p=freeside.git
diff --git a/httemplate/view/cust_main/contacts_new.html b/httemplate/view/cust_main/contacts_new.html
index 9a03410bf..94488670d 100644
--- a/httemplate/view/cust_main/contacts_new.html
+++ b/httemplate/view/cust_main/contacts_new.html
@@ -1,33 +1,69 @@
+% if ( $display and @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%><% $cust_contact->invoice_dest eq 'Y' ? 'Yes' : 'No' %> + <%$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 %> % } + <%$td%><% $cust_contact->comment |h %> +