daily sales/receipts report: fix customer class and date selection, #24853
[freeside.git] / httemplate / graph / report_money_time_daily.html
1 <% include('/elements/header.html', 'Daily Sales, Credits and Receipts Summary' ) %>
2
3 <FORM ACTION="money_time_daily.cgi" METHOD="GET">
4
5 <TABLE>
6
7 <& /elements/tr-input-beginning_ending.html,
8                 'datesrequired' => 1,
9                 'from' => $from,
10                 'to' => time,
11 &>
12
13 <% include('/elements/tr-select-agent.html',
14              'label'         => 'For agent: ',
15              'disable_empty' => 0,
16           )
17 %>
18
19 <& /elements/tr-select-cust_class.html,
20     'field'    => 'cust_classnum',
21     'multiple' => 1,
22 &>
23
24 </TABLE>
25
26 <BR><INPUT TYPE="submit" VALUE="Display">
27 </FORM>
28
29 <% include('/elements/footer.html') %>
30 <%init>
31
32 my $from = time - 30*86400;
33
34 die "access denied"
35   unless $FS::CurrentUser::CurrentUser->access_right('Financial reports');
36
37 </%init>