X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=httemplate%2Fview%2Fcust_main%2Fcontacts_new.html;h=a0dd3012557f039be08283ce3d7055eac3d2d83f;hb=604fb57656811244bd8a848170fce44fa8d7c946;hp=155490fe194a13a9afae5ab9488c70d30de35356;hpb=0456422b9eaf771e8c27cfb4ef4a0dd7e6f926f8;p=freeside.git
diff --git a/httemplate/view/cust_main/contacts_new.html b/httemplate/view/cust_main/contacts_new.html
index 155490fe1..a0dd30125 100644
--- a/httemplate/view/cust_main/contacts_new.html
+++ b/httemplate/view/cust_main/contacts_new.html
@@ -1,39 +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%><% $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 %> % } -% if ( $contact->comment ) { -Comment | -<% $contact->comment |h %> | - -% } + <%$td%><% $cust_contact->comment |h %>