[freeside-commits] branch master updated. a8d0463f23b08cb6cf4202105ac05f86a19d2f42

Ivan ivan at 420.am
Sun Aug 25 21:18:46 PDT 2013


The branch, master has been updated
       via  a8d0463f23b08cb6cf4202105ac05f86a19d2f42 (commit)
      from  a9e0bcdce308177b619f1490f58a608f49a69e90 (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 a8d0463f23b08cb6cf4202105ac05f86a19d2f42
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Sun Aug 25 21:18:45 2013 -0700

    continue sales person work: customer and package selection, commissions, reporting.  RT#23402

diff --git a/FS/FS/UI/Web/small_custview.pm b/FS/FS/UI/Web/small_custview.pm
index ae0a421..4d70519 100644
--- a/FS/FS/UI/Web/small_custview.pm
+++ b/FS/FS/UI/Web/small_custview.pm
@@ -31,7 +31,7 @@ sub small_custview {
 
   my $html = '<DIV ID="fs_small_custview" CLASS="small_custview">';
   
-  $html = qq!View <A HREF="$url?! . $cust_main->custnum . '">'
+  $html = qq!<A HREF="$url?! . $cust_main->custnum . '">'
     if $url;
 
   $html .= 'Customer #<B>'. $cust_main->display_custnum. '</B></A>'.
diff --git a/httemplate/browse/agent.cgi b/httemplate/browse/agent.cgi
index b9190ec..6f28641 100755
--- a/httemplate/browse/agent.cgi
+++ b/httemplate/browse/agent.cgi
@@ -88,12 +88,12 @@ full offerings (via their type).<BR><BR>
 
         <TD CLASS="inv" BGCOLOR="<% $bgcolor %>">
 %         if ( $agent->agent_custnum ) {
-            <% include('/elements/small_custview.html',
-                         $agent->agent_custnum,
-                         scalar($conf->config('countrydefault')),
-                         1, #show balance
-                      )
-            %>
+            <& /elements/small_custview.html,
+                 $agent->agent_custnum,
+                 scalar($conf->config('countrydefault')),
+                 1, #show balance
+                 $p.'view/cust_main.cgi',
+            &>
 %         }
         </TD>
 
diff --git a/httemplate/browse/sales.html b/httemplate/browse/sales.html
index d7375b9..47db420 100644
--- a/httemplate/browse/sales.html
+++ b/httemplate/browse/sales.html
@@ -38,6 +38,7 @@ push @fields, sub {
             $sales->sales_custnum,
             scalar($conf->config('countrydefault')),
             1, #show balance
+            $p.'view/cust_main.cgi',
          );
 };
 push @links, '';

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

Summary of changes:
 FS/FS/UI/Web/small_custview.pm |    2 +-
 httemplate/browse/agent.cgi    |   12 ++++++------
 httemplate/browse/sales.html   |    1 +
 3 files changed, 8 insertions(+), 7 deletions(-)




More information about the freeside-commits mailing list