X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fcontacts_new.html;h=9252b219778d1dd6715d9f1e9b77bf3da773f427;hb=368ed08e24400e9d1faf401a1e4e23ea54d2c969;hp=63a050c0449df13aa001bfdf1748dfdb3418f997;hpb=cc401559d97ade5a8a87afdb741195626bbdd0c4;p=freeside.git
diff --git a/httemplate/view/cust_main/contacts_new.html b/httemplate/view/cust_main/contacts_new.html
index 63a050c04..9252b2197 100644
--- a/httemplate/view/cust_main/contacts_new.html
+++ b/httemplate/view/cust_main/contacts_new.html
@@ -1,33 +1,83 @@
+% 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 + + <& /elements/change_password.html, + 'contact_num' => $cust_contact->contactnum, + 'custnum' => $cust_contact->custnum, + 'no_label_display' => '', + 'label' => 'change password', + 'curr_value' => '', + 'pre_pwd_field_label' => 'contact'.$count.'_', + &> + +% } 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 %> +