projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
per-customer option to force anniversary packages to prorate, #38191
[freeside.git]
/
httemplate
/
elements
/
tr-select-contact.html
diff --git
a/httemplate/elements/tr-select-contact.html
b/httemplate/elements/tr-select-contact.html
index
d6bc67f
..
e37d26d
100644
(file)
--- a/
httemplate/elements/tr-select-contact.html
+++ b/
httemplate/elements/tr-select-contact.html
@@
-138,7
+138,7
@@
if ( $cgi->param('error') ) {
if ( length($opt{'curr_value'}) ) {
$contactnum = $opt{'curr_value'};
} elsif ($prospect_main) {
if ( length($opt{'curr_value'}) ) {
$contactnum = $opt{'curr_value'};
} elsif ($prospect_main) {
- my @cust_contact = $prospect_main->c
ust_c
ontact;
+ my @cust_contact = $prospect_main->contact;
$contactnum = $cust_contact[0]->contactnum if scalar(@cust_contact)==1;
} else { #$cust_main
$cgi->param('contactnum') =~ /^(\-?\d*)$/ or die "illegal contactnum";
$contactnum = $cust_contact[0]->contactnum if scalar(@cust_contact)==1;
} else { #$cust_main
$cgi->param('contactnum') =~ /^(\-?\d*)$/ or die "illegal contactnum";