UI for $24246
[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 <TR>
28   <TH CLASS="background" COLSPAN=2>&nbsp;</TH>
29 </TR>
30
31 <TR>
32   <TH CLASS="background" COLSPAN=2 ALIGN="left"><FONT SIZE="+1"><% mt('Display options') |h %></FONT></TH>
33 </TR>
34
35 <& /elements/tr-td-label.html, label => 'Show customer referrals' &>
36 <TD>
37   <INPUT TYPE="checkbox" NAME="indirect" VALUE="Y">
38 </TD>
39 </TR>
40
41 </TABLE>
42
43 <BR><INPUT TYPE="submit" VALUE="Display">
44 </FORM>
45
46 <& /elements/footer.html &>
47 <%init>
48
49 #XXX use a different ACL for package churn?
50 die "access denied"
51   unless $FS::CurrentUser::CurrentUser->access_right('Financial reports');
52
53 </%init>