RT#37125: Include discounts in report: customer accounting summary
[freeside.git] / httemplate / search / report_customer_accounting_summary.html
1 <% include('/elements/header.html', 'Customer Accounting Summary Report' ) %>
2
3 <FORM ACTION="customer_accounting_summary.html" METHOD="GET">
4
5   <TABLE BGCOLOR="#cccccc" CELLSPACING=0>
6
7     <% include( '/elements/tr-select-agent.html',
8                  'curr_value'    => scalar( $cgi->param('agentnum') ),
9                  'label'         => 'Agent ',
10                  'disable_empty' => 0,
11              )
12     %>
13
14     <% include( '/elements/tr-select-part_referral.html',
15                  'curr_value'    => scalar( $cgi->param('refnum') ),
16                  'label'         => 'Advertising source ',
17                  'disable_empty' => 0,
18                  'empty_label'   => 'all',
19              )
20     %>
21
22     <% include('/elements/tr-select-from_to.html' ) %>
23     
24     <% include( '/elements/tr-select-cust_main-status.html',
25                 'label' => 'Customer Status'
26     ) %>
27
28     <& /elements/tr-select-cust_class.html,
29                 'label' => 'Customer Class',
30                 'field' => 'cust_classnum',
31                 'multiple' => 1,
32     &>
33
34     <& /elements/tr-checkbox.html,
35         'label' => 'Separate setup fees',
36         'field' => 'setuprecur',
37         'value' => 1,
38     &>
39
40     <& /elements/tr-checkbox.html,
41         'label' => 'Show Gross &amp; Discounted',
42         'field' => 'grossdiscount',
43         'value' => 1,
44     &>
45     
46   </TABLE>
47
48 <BR>
49 <INPUT TYPE="submit" VALUE="Get Report">
50
51 </FORM>
52
53 <% include('/elements/footer.html') %>
54 <%init>
55
56 die "access denied"
57   unless $FS::CurrentUser::CurrentUser->access_right('Financial reports');
58
59 </%init>