projected sales report, #15393
[freeside.git] / httemplate / graph / report_cust_bill_pkg.html
1 <% include('/elements/header.html', 'Sales Report' ) %>
2
3 <FORM ACTION="cust_bill_pkg.cgi" METHOD="GET">
4
5 <TABLE>
6
7 <% include('/elements/tr-select-from_to.html' ) %>
8
9 <TR>
10   <TD ALIGN="right">Project to:</TD>
11   <TD><& /elements/select-month_year.html, 
12     prefix => 'project',
13     show_month_abbr => 1 &></TD>
14 </TR>
15
16 <% include('/elements/tr-select-agent.html',
17              'label'         => 'For agent: ',
18              'disable_empty' => 0,
19              'pre_options'   => [ 'all' => 'all (aggregate)' ],
20              'empty_label'   => 'all (breakdown)',
21           )
22 %>
23
24 <% include('/elements/tr-select-pkg_class.html',
25               'pre_options' => [ 'all'  => 'all (aggregate)',
26                                  '0' => 'all (breakdown)' ],
27               'empty_label' => '(empty class)',
28            )
29 %>
30
31 <!--
32 <TR>
33   <TD ALIGN="right"><INPUT TYPE="checkbox" NAME="separate_0freq" VALUE="1"></TD>
34   <TD>Separate one-time vs. recurring sales</TD>
35 </TR>
36 -->
37
38 % foreach ( qw(Setup Usage) ) {
39 <& /elements/tr-select.html,
40     'label'   => "$_ fees",
41     'field'   => 'use_'.lc($_),
42     'options' => [ 0, 1, 2 ],
43     'labels'  => { 0 => 'Combine', 1 => 'Separate', 2 => 'Do not show' },
44 &>
45 % }
46
47 <TR>
48   <TD ALIGN="right"><INPUT TYPE="checkbox" NAME="use_override" VALUE="1"></TD>
49   <TD>Separate sub-packages from parents</TD>
50 </TR>
51
52 <TR>
53   <TD ALIGN="right"><INPUT TYPE="checkbox" NAME="average_per_cust_pkg" VALUE="1"></TD>
54   <TD>Average per customer package</TD>
55 </TR>
56
57 <TR>
58   <TD ALIGN="right"><INPUT TYPE="checkbox" NAME="distribute" VALUE="1"></TD>
59   <TD>Distribute recurring fees over billing period</TD>
60 </TR>
61
62 </TABLE>
63
64 <BR><INPUT TYPE="submit" VALUE="Display">
65 </FORM>
66
67 <% include('/elements/footer.html') %>
68 <%init>
69
70 die "access denied"
71   unless $FS::CurrentUser::CurrentUser->access_right('Financial reports');
72
73 </%init>