summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate')
-rwxr-xr-xhttemplate/browse/agent.cgi12
-rw-r--r--httemplate/browse/sales.html1
2 files changed, 7 insertions, 6 deletions
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).<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 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, '';