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
|
<& /elements/header.html, 'Customer Signup Summary' &>
<FORM ACTION="cust_signup.html" METHOD="GET">
<TABLE BGCOLOR="#cccccc" CELLSPACING=0>
<TR>
<TH CLASS="background" COLSPAN=2 ALIGN="left"><FONT SIZE="+1"><% mt('Search options') |h %></FONT></TH>
</TR>
<& /elements/tr-select-from_to.html &>
<& /elements/tr-select-agent.html,
'curr_value' => scalar($cgi->param('agentnum')),
'label' => 'For agent: ',
'disable_empty' => 0,
&>
<& /elements/tr-select-part_referral.html,
'curr_value' => scalar($cgi->param('refnum')),
'label' => 'Advertising source: ',
'disable_empty' => 0,
'pre_options' => [ 'all' => 'all (aggregate)' ],
'empty_label' => 'all (breakdown)',
&>
<& /elements/tr-select-cust_class.html,
'field' => 'cust_classnum',
'label' => 'Customer class ',
'multiple' => 1,
&>
<& /elements/tr-select-pkg_class.html,
'field' => 'pkg_classnum',
'label' => 'With package of class ',
'multiple' => 1,
&>
<TR>
<TH CLASS="background" COLSPAN=2> </TH>
</TR>
<TR>
<TH CLASS="background" COLSPAN=2 ALIGN="left"><FONT SIZE="+1"><% mt('Display options') |h %></FONT></TH>
</TR>
<& /elements/tr-td-label.html, label => 'Show customer referrals' &>
<TD>
<INPUT TYPE="checkbox" NAME="indirect" VALUE="Y">
</TD>
</TR>
</TABLE>
<BR><INPUT TYPE="submit" VALUE="Display">
</FORM>
<& /elements/footer.html &>
<%init>
#XXX use a different ACL for package churn?
die "access denied"
unless $FS::CurrentUser::CurrentUser->access_right('Financial reports');
</%init>
|