continue sales person work: customer and package selection, commissions, reporting...
authorIvan Kohler <ivan@freeside.biz>
Mon, 26 Aug 2013 04:18:45 +0000 (21:18 -0700)
committerIvan Kohler <ivan@freeside.biz>
Mon, 26 Aug 2013 04:18:45 +0000 (21:18 -0700)
FS/FS/UI/Web/small_custview.pm
httemplate/browse/agent.cgi
httemplate/browse/sales.html

index ae0a421..4d70519 100644 (file)
@@ -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>'.
index b9190ec..6f28641 100755 (executable)
@@ -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>
 
index d7375b9..47db420 100644 (file)
@@ -38,6 +38,7 @@ push @fields, sub {
             $sales->sales_custnum,
             scalar($conf->config('countrydefault')),
             1, #show balance
+            $p.'view/cust_main.cgi',
          );
 };
 push @links, '';