From: Jeremy Davis Date: Wed, 12 Mar 2014 13:44:46 +0000 (-0400) Subject: #28004 Adjustments to directions link on customer view page X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=bfefb704d76fffc1ab82626c8dec03931457a1cb #28004 Adjustments to directions link on customer view page --- diff --git a/httemplate/elements/coord-links.html b/httemplate/elements/coord-links.html index 02a224a00..4c263c638 100644 --- a/httemplate/elements/coord-links.html +++ b/httemplate/elements/coord-links.html @@ -35,10 +35,12 @@ $m->interp->apply_escapes($js_name, 'js_string'); $js_name =~ s/^'//; $js_name =~ s/'$//; +my @origin; my $origin; #for directions link if ( $agentnum =~ /^\d+$/ ) { - $origin = FS::Conf->new->config('company_address', $agentnum); + @origin = FS::Conf->new->config('company_address', $agentnum); + $origin = join (/,/,@origin); $origin = uri_escape($origin); }