projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tower tracking, RT#15538
[freeside.git]
/
httemplate
/
edit
/
process
/
prospect_main.html
diff --git
a/httemplate/edit/process/prospect_main.html
b/httemplate/edit/process/prospect_main.html
index
34d2642
..
13d5ada
100644
(file)
--- a/
httemplate/edit/process/prospect_main.html
+++ b/
httemplate/edit/process/prospect_main.html
@@
-4,7
+4,7
@@
'agent_virt' => 1,
'process_o2m' => {
'table' => 'contact',
'agent_virt' => 1,
'process_o2m' => {
'table' => 'contact',
- 'fields' =>
[qw( first last title comment )]
,
+ 'fields' =>
\@contact_fields
,
},
'redirect' => popurl(3). 'view/prospect_main.html?',
)
},
'redirect' => popurl(3). 'view/prospect_main.html?',
)
@@
-22,7
+22,9
@@
my $args_callback = sub {
my $cust_location = new FS::cust_location {
map { $_ => scalar($cgi->param($_)) }
my $cust_location = new FS::cust_location {
map { $_ => scalar($cgi->param($_)) }
- qw( address1 address2 city county state zip country )
+ qw( address1 address2 city county state zip country
+ location_kind location_type location_number
+ )
};
$cust_location->locationnum($locationnum) unless $locationnum == -1;
};
$cust_location->locationnum($locationnum) unless $locationnum == -1;
@@
-31,4
+33,9
@@
my $args_callback = sub {
};
};
+my @contact_fields = qw( first last title comment emailaddress );
+foreach my $phone_type ( qsearch({table=>'phone_type', order_by=>'weight'}) ) {
+ push @contact_fields, 'phonetypenum'.$phone_type->phonetypenum;
+}
+
</%init>
</%init>