X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fcontacts_new.html;h=fe412cc00365db0043320f4413ab59ef33ee5209;hp=63a050c0449df13aa001bfdf1748dfdb3418f997;hb=4747bfbea3f4abb66d05a2bd1abed69e28a4aa3d;hpb=cc401559d97ade5a8a87afdb741195626bbdd0c4
diff --git a/httemplate/view/cust_main/contacts_new.html b/httemplate/view/cust_main/contacts_new.html
index 63a050c04..fe412cc00 100644
--- a/httemplate/view/cust_main/contacts_new.html
+++ b/httemplate/view/cust_main/contacts_new.html
@@ -1,33 +1,71 @@
+% 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%><% $cust_contact->message_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 %> +