diff options
author | Ivan Kohler <ivan@freeside.biz> | 2014-11-18 19:41:38 -0800 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2014-11-18 19:41:38 -0800 |
commit | 5499e8e571862b071e1b072a017aba16636ea34b (patch) | |
tree | 1a24bddfb61b0f6ba991ddbec85f4edbe109e9a8 /httemplate/edit/process/cust_main-contacts.html | |
parent | 8c62132b6291314df2ec7fb6c50b14c08bb4c8e6 (diff) |
fix contact self-service disabled on edit (and some basic contact reports), RT#25533, RT#32171, RT#32212
Diffstat (limited to 'httemplate/edit/process/cust_main-contacts.html')
-rw-r--r-- | httemplate/edit/process/cust_main-contacts.html | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/httemplate/edit/process/cust_main-contacts.html b/httemplate/edit/process/cust_main-contacts.html index d902dee09..10ec3638f 100644 --- a/httemplate/edit/process/cust_main-contacts.html +++ b/httemplate/edit/process/cust_main-contacts.html @@ -5,18 +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 selfservice_access -); -foreach my $phone_type ( qsearch({table=>'phone_type', order_by=>'weight'}) ) { - push @contact_fields, 'phonetypenum'.$phone_type->phonetypenum; -} - -</%init> |