diff options
author | ivan <ivan> | 2011-03-20 19:38:28 +0000 |
---|---|---|
committer | ivan <ivan> | 2011-03-20 19:38:28 +0000 |
commit | 25b48e1acbf6ad7ebd3e85b479ee6cd3a8ccd098 (patch) | |
tree | 76a7b1cefa290a28610525ef02766f9c9f49318a /httemplate/misc | |
parent | ec16e50b394e928b6810d6d3867de6d6ef918ce5 (diff) |
qualification address handling changes, RT#7111
Diffstat (limited to 'httemplate/misc')
-rw-r--r-- | httemplate/misc/location.cgi | 3 | ||||
-rw-r--r-- | httemplate/misc/qual.html | 9 |
2 files changed, 7 insertions, 5 deletions
diff --git a/httemplate/misc/location.cgi b/httemplate/misc/location.cgi index 82ad636c4..188c5c3df 100644 --- a/httemplate/misc/location.cgi +++ b/httemplate/misc/location.cgi @@ -24,7 +24,8 @@ my $cust_location = qsearchs({ my %hash = (); %hash = map { $_ => $cust_location->$_() } - qw( address1 address2 city county state zip country ) + qw( address1 address2 city county state zip country + location_kind location_type location_number ) if $cust_location; </%init> diff --git a/httemplate/misc/qual.html b/httemplate/misc/qual.html index ed6ba2d6c..78d85edca 100644 --- a/httemplate/misc/qual.html +++ b/httemplate/misc/qual.html @@ -45,10 +45,11 @@ %> <% include('/elements/tr-select-cust_location.html', - 'cgi' => $cgi, - $table => $cust_main_or_prospect_main, - 'alt_format' => $conf->exists('qual-alt_address_format'), - 'no_bold' => 1, + 'cgi' => $cgi, + $table => $cust_main_or_prospect_main, + 'alt_format' => $conf->exists('qual-alt_address_format'), + 'disable_empty' => $conf->exists('qual-alt_address_format'), + 'no_bold' => 1, #required for ikano.. config? 'is_optional' => 1, ) %> |