add customer status column to customer & most other reports. also put the C in ACL...
[freeside.git] / httemplate / search / report_cust_pkg.html
index 8fabf10..92138b5 100755 (executable)
@@ -18,7 +18,7 @@
                    'empty_label' => '(empty class)',
                )
     %>
-% #include( '/elements/tr-selectmultiple-part_pkg.html' ) 
+    <% include( '/elements/tr-selectmultiple-part_pkg.html' ) %> 
 
     <TR>
       <TD ALIGN="right" VALIGN="center">Next bill date</TD>
@@ -46,3 +46,9 @@
 </FORM>
 
 <% include('/elements/footer.html') %>
+<%init>
+
+die "access denied"
+  unless $FS::CurrentUser::CurrentUser->access_right('List packages');
+
+</%init>