X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fcoord-links.html;h=db04dad97787c47dd4d2c4b685416f9e4bc22911;hb=32e9b8146661a5bc6b340b09dacc8a70813555f6;hp=f27ffd39f8c93714331f9957695afa820d264336;hpb=302a18ba3d7f4a2527f68e7e07989d37a6db38fc;p=freeside.git diff --git a/httemplate/elements/coord-links.html b/httemplate/elements/coord-links.html index f27ffd39f..db04dad97 100644 --- a/httemplate/elements/coord-links.html +++ b/httemplate/elements/coord-links.html @@ -51,7 +51,9 @@ my $apikey = $conf->config('google_maps_api_key'); #for directions link my @origin = $opt{company_address} ? @{ $opt{company_address} } - : $conf->config('company_address', $agentnum); + : ( $conf->config('company_physical_address', $agentnum) + ? $conf->config('company_physical_address', $agentnum) + : $conf->config('company_address', $agentnum) ); my $origin = uri_escape(join(',', @origin));