X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Felements%2Fcoord-links.html;h=db04dad97787c47dd4d2c4b685416f9e4bc22911;hp=f27ffd39f8c93714331f9957695afa820d264336;hb=ff27c3f36240aee48ed50153dd5d8fe3ac3f2443;hpb=ae14e320388fa5e7f400bff1c251ef885b7952e6 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));