X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fcontacts_new.html;fp=httemplate%2Fview%2Fcust_main%2Fcontacts_new.html;h=590409df9df4defece752bf37fdb652ff1aee731;hb=3e9a428cbc8abd4af6fea8eb828126519b43198b;hp=683841c33a89073fc1204b69d588faaaa8d1051b;hpb=060d8d15ba02f61fa0ddd68a9e55a64ce4dfa089;p=freeside.git diff --git a/httemplate/view/cust_main/contacts_new.html b/httemplate/view/cust_main/contacts_new.html index 683841c33..590409df9 100644 --- a/httemplate/view/cust_main/contacts_new.html +++ b/httemplate/view/cust_main/contacts_new.html @@ -1,11 +1,10 @@ +%if ( @cust_contacts ) {
Contacts <& /elements/table-grid.html &> -% my $bgcolor1 = '#eeeeee'; -% my $bgcolor2 = '#ffffff'; -% my $bgcolor = $bgcolor2; -% my $th = ''; + +% my $th = ''; <%$th%>Type <%$th%>Contact @@ -16,7 +15,11 @@ % } <%$th%>Comment + +% my $bgcolor1 = '#ffffff'; +% my $bgcolor2 = '#eeeeee'; +% my $bgcolor = $bgcolor2; % foreach my $cust_contact ( @cust_contacts ) { % my $contact = $cust_contact->contact; % my $td = qq(); @@ -59,6 +62,7 @@ % } % } +%} <%once> my @phone_type = qsearch({table=>'phone_type', order_by=>'weight'});