Option to ignore old CDRs, RT#81480
[freeside.git] / httemplate / graph / report_cust_signup.html
1 <& /elements/header.html, 'Customer Signup Summary' &>
2
3 <FORM ACTION="cust_signup.html" METHOD="GET">
4
5 <TABLE BGCOLOR="#cccccc" CELLSPACING=0>
6
7 <TR>
8   <TH CLASS="background" COLSPAN=2 ALIGN="left"><FONT SIZE="+1"><% mt('Search options') |h %></FONT></TH>
9 </TR>
10
11 <& /elements/tr-select-from_to.html &>
12
13 <& /elements/tr-select-agent.html,
14   'curr_value'    => scalar($cgi->param('agentnum')),
15   'label'         => 'For agent: ',
16   'disable_empty' => 0,
17 &>
18
19 <& /elements/tr-select-part_referral.html,
20   'curr_value'    => scalar($cgi->param('refnum')),
21   'label'         => 'Advertising source: ',
22   'disable_empty' => 0,
23   'pre_options'   => [ 'all' => 'all (aggregate)' ],
24   'empty_label'   => 'all (breakdown)',
25 &>
26
27 <& /elements/tr-select-cust_class.html,
28   'field'         => 'cust_classnum',
29   'label'         => 'Customer class ',
30   'multiple'      => 1,
31 &>
32
33 <& /elements/tr-select-pkg_class.html,
34   'field'         => 'pkg_classnum',
35   'label'         => 'With package of class ',
36   'multiple'      => 1,
37 &>
38
39 <TR>
40   <TH CLASS="background" COLSPAN=2>&nbsp;</TH>
41 </TR>
42
43 <TR>
44   <TH CLASS="background" COLSPAN=2 ALIGN="left"><FONT SIZE="+1"><% mt('Display options') |h %></FONT></TH>
45 </TR>
46
47 <& /elements/tr-td-label.html, label => 'Show customer referrals' &>
48 <TD>
49   <INPUT TYPE="checkbox" NAME="indirect" VALUE="Y">
50 </TD>
51 </TR>
52
53 </TABLE>
54
55 <BR><INPUT TYPE="submit" VALUE="Display">
56 </FORM>
57
58 <& /elements/footer.html &>
59 <%init>
60
61 #XXX use a different ACL for package churn?
62 die "access denied"
63   unless $FS::CurrentUser::CurrentUser->access_right('Financial reports');
64
65 </%init>