summaryrefslogtreecommitdiff
path: root/httemplate/graph/report_cust_signup.html
blob: 12dec8e6a4d68f1ddc4fe93b35376813f9b0a2e3 (plain)
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
<% include('/elements/header.html', 'Customer Signup Summary' ) %>

<FORM ACTION="cust_signup.html" METHOD="GET">

<TABLE>

<% include('/elements/tr-select-from_to.html' ) %>

<% include('/elements/tr-select-agent.html',
             'curr_value'    => scalar($cgi->param('agentnum')),
             'label'         => 'For agent: ',
             'disable_empty' => 0,
          )
%>

<% include('/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-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>

<% include('/elements/footer.html') %>
<%init>

#XXX use a different ACL for package churn?
die "access denied"
  unless $FS::CurrentUser::CurrentUser->access_right('Financial reports');

</%init>