X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fcontacts_new.html;h=bd213d1dd558c6f8845d3adeefba652690bbb9cf;hb=5b9562f8e03ae6efea0c2eaa90341083744fa529;hp=2209d30f3f549ffe05295ea95cfb9e9475144fc9;hpb=6383208b0f004ddcb26c74788595dce6673863f8;p=freeside.git diff --git a/httemplate/view/cust_main/contacts_new.html b/httemplate/view/cust_main/contacts_new.html index 2209d30f3..bd213d1dd 100644 --- a/httemplate/view/cust_main/contacts_new.html +++ b/httemplate/view/cust_main/contacts_new.html @@ -10,6 +10,7 @@ <%$th%>Contact <%$th%>Email <%$th%>Send invoices + <%$th%>Send messages <%$th%>Self-service % foreach my $phone_type (@phone_type) { <%$th%><% $phone_type->typename |h %> @@ -33,6 +34,7 @@ % my @contact_email = $contact->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 @@ -78,7 +80,7 @@ %} <%once> -my @phone_type = qsearch({table=>'phone_type', order_by=>'weight'}); +my @phone_type = FS::phone_type->get_phone_types(); <%init>