[freeside-commits] branch master updated. bfefb704d76fffc1ab82626c8dec03931457a1cb

Jeremy Davis jeremyd at 420.am
Wed Mar 12 06:45:02 PDT 2014


The branch, master has been updated
       via  bfefb704d76fffc1ab82626c8dec03931457a1cb (commit)
      from  faa92dd0fd0b875886378de7c91c59a4049f1168 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit bfefb704d76fffc1ab82626c8dec03931457a1cb
Author: Jeremy Davis <jeremyd at freeside.biz>
Date:   Wed Mar 12 09:44:46 2014 -0400

    #28004 Adjustments to directions link on customer view page

diff --git a/httemplate/elements/coord-links.html b/httemplate/elements/coord-links.html
index 02a224a..4c263c6 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 (/,/, at origin);
   $origin = uri_escape($origin);
 }
 </%init>

-----------------------------------------------------------------------

Summary of changes:
 httemplate/elements/coord-links.html |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)




More information about the freeside-commits mailing list