X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fgraph%2Freport_money_time_daily.html;h=e80f5862c4ac7b4e929f8c561acdad7a4b39b417;hb=refs%2Fheads%2F3.x-pre;hp=1e1b45d4e9bc082e0a62dd72adbac3215ada7703;hpb=20950bb21ee5dd8839a05dfcd58efa0a98e48e5a;p=freeside.git
diff --git a/httemplate/graph/report_money_time_daily.html b/httemplate/graph/report_money_time_daily.html
index 1e1b45d4e..e80f5862c 100644
--- a/httemplate/graph/report_money_time_daily.html
+++ b/httemplate/graph/report_money_time_daily.html
@@ -4,7 +4,11 @@
-<% 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: ',
@@ -12,6 +16,11 @@
)
%>
+<& /elements/tr-select-cust_class.html,
+ 'field' => 'cust_classnum',
+ 'multiple' => 1,
+&>
+
@@ -20,6 +29,8 @@
<% include('/elements/footer.html') %>
<%init>
+my $from = time - 30*86400;
+
die "access denied"
unless $FS::CurrentUser::CurrentUser->access_right('Financial reports');