projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
faa92dd
)
#28004 Adjustments to directions link on customer view page
author
Jeremy Davis
<jeremyd@freeside.biz>
Wed, 12 Mar 2014 13:44:46 +0000
(09:44 -0400)
committer
Jeremy Davis
<jeremyd@freeside.biz>
Wed, 12 Mar 2014 13:44:46 +0000
(09:44 -0400)
httemplate/elements/coord-links.html
patch
|
blob
|
history
diff --git
a/httemplate/elements/coord-links.html
b/httemplate/elements/coord-links.html
index
02a224a
..
4c263c6
100644
(file)
--- 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/'$//;
$js_name =~ s/^'//;
$js_name =~ s/'$//;
+my @origin;
my $origin;
#for directions link
if ( $agentnum =~ /^\d+$/ ) {
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);
}
</%init>
$origin = uri_escape($origin);
}
</%init>