[freeside-commits] branch FREESIDE_3_BRANCH updated. 235d99a60f1ec1a68afcd4614005352ce0f8b89f

Jeremy Davis jeremyd at 420.am
Wed Mar 12 06:48:01 PDT 2014


The branch, FREESIDE_3_BRANCH has been updated
       via  235d99a60f1ec1a68afcd4614005352ce0f8b89f (commit)
      from  75e708be04ef8c4afb4a51b70f18b0f7a2ad41bc (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 235d99a60f1ec1a68afcd4614005352ce0f8b89f
Author: Jeremy Davis <jeremyd at freeside.biz>
Date:   Wed Mar 12 09:47:48 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