invoice_sections_with_taxes per-agent, RT#79636
[freeside.git] / httemplate / graph / report_money_time_daily.html
index 1e1b45d..ca3d915 100644 (file)
@@ -4,7 +4,11 @@
 
 <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,
+&>
+
+<tr>
+  <td />
+  <td>
+    <& /elements/checkbox.html,
+      field => 'exclude_discount',
+      value => 1,
+      curr_value => 0,
+    &>
+    <% emt('Exclude discounts from total sales') %>
+  </td>
+</TR>
+
 </TABLE>
 
 <BR><INPUT TYPE="submit" VALUE="Display">
@@ -20,6 +41,8 @@
 <% include('/elements/footer.html') %>
 <%init>
 
+my $from = time - 30*86400;
+
 die "access denied"
   unless $FS::CurrentUser::CurrentUser->access_right('Financial reports');