1 <% include('/elements/header.html', 'Sales Report' ) %>
3 <FORM ACTION="cust_bill_pkg.cgi" METHOD="GET">
7 <% include('/elements/tr-select-from_to.html' ) %>
10 <TD ALIGN="right">Project to:</TD>
11 <TD><& /elements/select-month_year.html,
13 show_month_abbr => 1 &></TD>
16 <% include('/elements/tr-select-agent.html',
17 'label' => 'For agent: ',
19 'pre_options' => [ 'all' => 'all (aggregate)' ],
20 'empty_label' => 'all (breakdown)',
24 <% include('/elements/tr-select-pkg_class.html',
25 'pre_options' => [ 'all' => 'all (aggregate)',
26 '0' => 'all (breakdown)' ],
27 'empty_label' => '(empty class)',
33 <TD ALIGN="right"><INPUT TYPE="checkbox" NAME="separate_0freq" VALUE="1"></TD>
34 <TD>Separate one-time vs. recurring sales</TD>
38 % foreach ( qw(Setup Usage) ) {
39 <& /elements/tr-select.html,
41 'field' => 'use_'.lc($_),
42 'options' => [ 0, 1, 2 ],
43 'labels' => { 0 => 'Combine', 1 => 'Separate', 2 => 'Do not show' },
48 <TD ALIGN="right"><INPUT TYPE="checkbox" NAME="use_override" VALUE="1"></TD>
49 <TD>Separate sub-packages from parents</TD>
53 <TD ALIGN="right"><INPUT TYPE="checkbox" NAME="average_per_cust_pkg" VALUE="1"></TD>
54 <TD>Average per customer package</TD>
58 <TD ALIGN="right"><INPUT TYPE="checkbox" NAME="distribute" VALUE="1"></TD>
59 <TD>Distribute recurring fees over billing period</TD>
64 <BR><INPUT TYPE="submit" VALUE="Display">
67 <% include('/elements/footer.html') %>
71 unless $FS::CurrentUser::CurrentUser->access_right('Financial reports');