summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--FS/FS/UI/Web/small_custview.pm2
-rwxr-xr-xhttemplate/browse/agent.cgi12
-rw-r--r--httemplate/browse/sales.html1
3 files changed, 8 insertions, 7 deletions
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, '';