[freeside-commits] freeside/httemplate/view prospect_main.html, 1.2, 1.3
Ivan,,,
ivan at wavetail.420.am
Wed Jun 16 19:08:55 PDT 2010
Update of /home/cvs/cvsroot/freeside/httemplate/view
In directory wavetail.420.am:/tmp/cvs-serv17396/httemplate/view
Modified Files:
prospect_main.html
Log Message:
Add "View customers of all agents" access rights, RT#7010
Index: prospect_main.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/prospect_main.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -w -d -r1.2 -r1.3
--- prospect_main.html 20 May 2010 08:48:51 -0000 1.2
+++ prospect_main.html 17 Jun 2010 02:08:53 -0000 1.3
@@ -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>
More information about the freeside-commits
mailing list