multi-select for agent on RADIUS usage report, RT#73050
[freeside.git] / httemplate / search / report_cust_pay_batch.html
index 0dc4bc1..2d3ef06 100644 (file)
@@ -16,8 +16,9 @@
   </TR>
 
   <% include( '/elements/tr-select-agent.html',
-                 $cgi->param('agentnum'),
-                 'label' => 'for agent: ',
+                 'curr_value'    => scalar( $cgi->param('agentnum') ),
+                 'label'         => 'For agent: ',
+                 'disable_empty' => 0
              )
   %>
 
@@ -35,3 +36,9 @@
 </FORM>
 
 <% include('/elements/footer.html') %>
+<%init>
+
+die "access denied"
+  unless $FS::CurrentUser::CurrentUser->access_right('Financial reports');
+
+</%init>