[freeside-commits] freeside/httemplate/browse part_pkg.cgi, 1.47, 1.48

Ivan,,, ivan at wavetail.420.am
Sat Feb 7 18:05:51 PST 2009


Update of /home/cvs/cvsroot/freeside/httemplate/browse
In directory wavetail.420.am:/tmp/cvs-serv1863/httemplate/browse

Modified Files:
	part_pkg.cgi 
Log Message:
further work on agents editing own packages: allow them to see (but not edit) global packages for their type, RT#1331

Index: part_pkg.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/browse/part_pkg.cgi,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -d -r1.47 -r1.48
--- part_pkg.cgi	8 Feb 2009 02:05:24 -0000	1.47
+++ part_pkg.cgi	8 Feb 2009 02:05:48 -0000	1.48
@@ -46,6 +46,7 @@
 
 my $extra_sql = '';
 
+#false laziness w/elements/select-part_pkg.html
 my $agentnums = join(',', $curuser->agentnums);
 
 unless ( $acl_edit_global ) {
@@ -62,6 +63,7 @@
     )
   ";
 }
+#eofalse
 
 my $count_cust_pkg = "
   SELECT COUNT(*) FROM cust_pkg LEFT JOIN cust_main USING ( custnum )



More information about the freeside-commits mailing list