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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
<% include('/elements/header.html', 'Sales Report with Advertising Source' ) %>
<FORM ACTION="cust_bill_pkg_referral.html" METHOD="GET">
<TABLE>
<& /elements/tr-input-beginning_ending.html &>
<& /elements/tr-select-agent.html,
'label' => 'For agent: ',
'disable_empty' => 0,
'empty_label' => 'all',
&>
<& /elements/tr-select-cust_pkg-status.html,
'label' => 'Package status',
'multiple' => 1,
'disable_empty' => 1,
&>
<& /elements/tr-select-part_referral.html,
'multiple' => 1,
'disable_empty' => 1,
&>
<& /elements/tr-select-cust_class.html,
'field' => 'cust_classnum',
'multiple' => 1,
&>
<& /elements/tr-select-pkg_class.html,
'pre_options' => [ '' => 'all', '0' => '(empty class)' ],
'disable_empty' => 1,
&>
<& /elements/tr-select-table.html,
'label' => 'Report classes',
'table' => 'part_pkg_report_option',
'name_col' => 'name',
'hashref' => { disabled => '' },
'element_name' => 'report_option',
'multiple' => 1,
&>
<TR>
<TD ALIGN="right"><INPUT TYPE="checkbox" NAME="setup" VALUE="1" CHECKED></TD>
<TD>Show setup/one-time fees</TD>
</TR>
<TR>
<TD ALIGN="right"><INPUT TYPE="checkbox" NAME="recur" VALUE="1" CHECKED></TD>
<TD>Show recurring fees</TD>
</TR>
<TR>
<TD ALIGN="right"><INPUT TYPE="checkbox" NAME="usage" VALUE="1" CHECKED></TD>
<TD>Show usage charges</TD>
</TR>
</TABLE>
<BR><INPUT TYPE="submit" VALUE="Display">
</FORM>
<% include('/elements/footer.html') %>
<%init>
die "access denied"
unless $FS::CurrentUser::CurrentUser->access_right('Financial reports');
</%init>
|