This commit was generated by cvs2svn to compensate for changes in r5562,
[freeside.git] / httemplate / search / report_receivables.html
index 1ae4b8e..bb23f1f 100755 (executable)
@@ -4,7 +4,12 @@
 
     <TABLE>
 
-     <% include( '/elements/tr-select-agent.html' ) %>
+      <% include( '/elements/tr-select-agent.html' ) %>
+
+      <TR>
+        <TD ALIGN="right">Over </TD>
+        <TD><INPUT NAME="days" TYPE="text" SIZE=4 MAXLENGTH=3> days</TD>
+      </TR>
 
     </TABLE>
 
@@ -13,4 +18,9 @@
 
   </BODY>
 </HTML>
+<%init>
+
+die "access denied"
+  unless $FS::CurrentUser::CurrentUser->access_right('Financial reports');
 
+</%init>