X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fprocess%2Fcust_main-contacts.html;h=10ec3638f0a2638bdd746c96cf5cdacbff3c3b28;hb=5499e8e571862b071e1b072a017aba16636ea34b;hp=ed874a55e89bb2b83f79365a131b8a0f15341adf;hpb=83f70978574fef3401020cb11cf651d12c139b3b;p=freeside.git diff --git a/httemplate/edit/process/cust_main-contacts.html b/httemplate/edit/process/cust_main-contacts.html index ed874a55e..10ec3638f 100644 --- a/httemplate/edit/process/cust_main-contacts.html +++ b/httemplate/edit/process/cust_main-contacts.html @@ -5,16 +5,8 @@ 'skip_process' => 1, #we don't want to make any changes to cust_main 'process_o2m' => { 'table' => 'contact', - 'fields' => \@contact_fields, + 'fields' => FS::contact->cgi_contact_fields, }, 'redirect' => popurl(3). 'view/cust_main.cgi?', ) %> -<%init> - -my @contact_fields = qw( classnum first last title comment emailaddress ); -foreach my $phone_type ( qsearch({table=>'phone_type', order_by=>'weight'}) ) { - push @contact_fields, 'phonetypenum'.$phone_type->phonetypenum; -} - -