[freeside-commits] freeside/httemplate/view/cust_main misc.html, 1.15, 1.16
Ivan,,,
ivan at wavetail.420.am
Wed Jun 16 19:08:55 PDT 2010
Update of /home/cvs/cvsroot/freeside/httemplate/view/cust_main
In directory wavetail.420.am:/tmp/cvs-serv17396/httemplate/view/cust_main
Modified Files:
misc.html
Log Message:
Add "View customers of all agents" access rights, RT#7010
Index: misc.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/cust_main/misc.html,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -w -d -r1.15 -r1.16
--- misc.html 17 Jun 2010 01:17:45 -0000 1.15
+++ misc.html 17 Jun 2010 02:08:53 -0000 1.16
@@ -10,7 +10,8 @@
<TD BGCOLOR="#ffffff"><FONT COLOR="#<% $cust_main->statuscolor %>"><B><% ucfirst($cust_main->status) %></B></FONT></TD>
</TR>
-%unless ( scalar(@agentnums) == 1 ) {
+%unless ( scalar(@agentnums) == 1
+% && !$curuser->access_right('View customers of all agents') ) {
% my $agent = qsearchs('agent',{ 'agentnum' => $cust_main->agentnum } );
<TR>
<TD ALIGN="right">Agent</TD>
More information about the freeside-commits
mailing list