diff options
Diffstat (limited to 'httemplate/view/prospect_main.html')
| -rw-r--r-- | httemplate/view/prospect_main.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/httemplate/view/prospect_main.html b/httemplate/view/prospect_main.html index 9883e6766..9517e3920 100644 --- a/httemplate/view/prospect_main.html +++ b/httemplate/view/prospect_main.html @@ -14,7 +14,8 @@ <TD BGCOLOR="#FFFFFF"><B><% $prospectnum %></B></TD> </TR> -%unless ( scalar(@agentnums) == 1 ) { +%unless ( scalar(@agentnums) == 1 +% && !$curuser->access_right('View customers of all agents') ) { % my $agent = qsearchs('agent',{ 'agentnum' => $prospect_main->agentnum } ); <TR> <TD ALIGN="right">Agent</TD> |
