projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
DNS, RT#8933
[freeside.git]
/
httemplate
/
view
/
prospect_main.html
diff --git
a/httemplate/view/prospect_main.html
b/httemplate/view/prospect_main.html
index
de446a9
..
9517e39
100644
(file)
--- a/
httemplate/view/prospect_main.html
+++ b/
httemplate/view/prospect_main.html
@@
-14,7
+14,8
@@
<TD BGCOLOR="#FFFFFF"><B><% $prospectnum %></B></TD>
</TR>
<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>
% my $agent = qsearchs('agent',{ 'agentnum' => $prospect_main->agentnum } );
<TR>
<TD ALIGN="right">Agent</TD>
@@
-58,7
+59,7
@@
<% ntable("#cccccc") %>
<TR>
<% ntable("#cccccc") %>
<TR>
- <TH
BGCOLOR="#e8e8e8
" COLSPAN=2 ALIGN="left"><FONT SIZE="+1">Tickets</FONT></TH>
+ <TH
CLASS="background
" COLSPAN=2 ALIGN="left"><FONT SIZE="+1">Tickets</FONT></TH>
</TR>
</TABLE>
</TR>
</TABLE>