<TABLE>
-<% include( '/elements/tr-input-beginning_ending.html' ) %>
+<& /elements/tr-input-beginning_ending.html,
+ 'datesrequired' => 1,
+ 'from' => $from,
+ 'to' => time,
+&>
<% include('/elements/tr-select-agent.html',
'label' => 'For agent: ',
)
%>
+<& /elements/tr-select-cust_class.html,
+ 'field' => 'cust_classnum',
+ 'multiple' => 1,
+&>
+
</TABLE>
<BR><INPUT TYPE="submit" VALUE="Display">
<% include('/elements/footer.html') %>
<%init>
+my $from = time - 30*86400;
+
die "access denied"
unless $FS::CurrentUser::CurrentUser->access_right('Financial reports');