projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix contact self-service disabled on edit (and some basic contact reports), RT#25533...
[freeside.git]
/
httemplate
/
edit
/
process
/
cust_main-contacts.html
diff --git
a/httemplate/edit/process/cust_main-contacts.html
b/httemplate/edit/process/cust_main-contacts.html
index
ed874a5
..
10ec363
100644
(file)
--- 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',
'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?',
)
%>
},
'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;
-}
-
-</%init>