filter by customer class on all financial reports, #20573
[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 <% include( '/elements/tr-input-beginning_ending.html',
8                 'datesrequired' => 1,
9                 'from' => time2str('%m/%d/%Y',$from),
10                 'to' => time2str('%m/%d/%Y',time),
11             ) 
12 %>
13
14 <% include('/elements/tr-select-agent.html',
15              'label'         => 'For agent: ',
16              'disable_empty' => 0,
17           )
18 %>
19
20 <& /elements/tr-select-cust_class.html,
21     'field'    => 'cust_classnum',
22     'multiple' => 1,
23 &>
24
25 </TABLE>
26
27 <BR><INPUT TYPE="submit" VALUE="Display">
28 </FORM>
29
30 <% include('/elements/footer.html') %>
31 <%init>
32
33 my $from = time - 30*86400;
34
35 die "access denied"
36   unless $FS::CurrentUser::CurrentUser->access_right('Financial reports');
37
38 </%init>