diff options
author | levinse <levinse> | 2011-05-26 20:59:58 +0000 |
---|---|---|
committer | levinse <levinse> | 2011-05-26 20:59:58 +0000 |
commit | a2d31d7aeeec3e0d08e7ebe30b191da94f96618e (patch) | |
tree | 4d1c7e0d29e78e31286d52f0458c4c42d68dc591 /httemplate/graph | |
parent | e51b8aa7151f9993ee7265c69d2ca0e1c05e80fa (diff) |
daily sales, credits, and receipts report
Diffstat (limited to 'httemplate/graph')
-rw-r--r-- | httemplate/graph/report_money_time_daily.html | 9 |
1 files changed, 8 insertions, 1 deletions
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 @@ <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: ', @@ -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'); |