select multiple package classes (or report classes) on sales report, RT#24776
[freeside.git] / httemplate / graph / report_money_time_daily.html
index 1e1b45d..a436d08 100644 (file)
@@ -4,7 +4,12 @@
 
 <TABLE>
 
-<% include( '/elements/tr-input-beginning_ending.html' ) %>
+<% include( '/elements/tr-input-beginning_ending.html',
+                'datesrequired' => 1,
+                'from' => time2str('%m/%d/%Y',$from),
+                'to' => time2str('%m/%d/%Y',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">
@@ -20,6 +30,8 @@
 <% include('/elements/footer.html') %>
 <%init>
 
+my $from = time - 30*86400;
+
 die "access denied"
   unless $FS::CurrentUser::CurrentUser->access_right('Financial reports');