1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
<% include('/elements/header.html', 'Daily Sales, Credits and Receipts Summary' ) %>
<FORM ACTION="money_time_daily.cgi" METHOD="GET">
<TABLE>
<& /elements/tr-input-beginning_ending.html,
'datesrequired' => 1,
'from' => $from,
'to' => time,
&>
<% include('/elements/tr-select-agent.html',
'label' => 'For agent: ',
'disable_empty' => 0,
)
%>
<& /elements/tr-select-cust_class.html,
'field' => 'cust_classnum',
'multiple' => 1,
&>
<tr>
<td />
<td>
<& /elements/checkbox.html,
field => 'exclude_discount',
value => 1,
curr_value => 0,
&>
<% emt('Exclude discounts from total sales') %>
</td>
</TR>
</TABLE>
<BR><INPUT TYPE="submit" VALUE="Display">
</FORM>
<% include('/elements/footer.html') %>
<%init>
my $from = time - 30*86400;
die "access denied"
unless $FS::CurrentUser::CurrentUser->access_right('Financial reports');
</%init>
|