X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fgraph%2Freport_money_time_daily.html;h=8328199c7325bb08e04537dfd5054f4bb8967743;hp=1e1b45d4e9bc082e0a62dd72adbac3215ada7703;hb=75e11f1d1a5ced24496b5732e290f7762403feb8;hpb=20950bb21ee5dd8839a05dfcd58efa0a98e48e5a diff --git a/httemplate/graph/report_money_time_daily.html b/httemplate/graph/report_money_time_daily.html index 1e1b45d4e..8328199c7 100644 --- a/httemplate/graph/report_money_time_daily.html +++ b/httemplate/graph/report_money_time_daily.html @@ -4,7 +4,12 @@ -<% 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: ', @@ -20,6 +25,8 @@ <% include('/elements/footer.html') %> <%init> +my $from = time - 30*86400; + die "access denied" unless $FS::CurrentUser::CurrentUser->access_right('Financial reports');