From: Ivan Kohler Date: Mon, 26 Aug 2013 04:18:45 +0000 (-0700) Subject: continue sales person work: customer and package selection, commissions, reporting... X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=a8d0463f23b08cb6cf4202105ac05f86a19d2f42 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 ae0a4211b..4d7051939 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 = '
'; - $html = qq!View ' + $html = qq!' if $url; $html .= 'Customer #'. $cust_main->display_custnum. ''. diff --git a/httemplate/browse/agent.cgi b/httemplate/browse/agent.cgi index b9190ecb5..6f2864106 100755 --- a/httemplate/browse/agent.cgi +++ b/httemplate/browse/agent.cgi @@ -88,12 +88,12 @@ full offerings (via their type).

% 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', + &> % } diff --git a/httemplate/browse/sales.html b/httemplate/browse/sales.html index d7375b9f8..47db4206e 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, '';