Merge branch 'master' of git.freeside.biz:/home/git/freeside
[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   </TABLE>
29
30 <BR>
31 <INPUT TYPE="submit" VALUE="Get Report">
32
33 </FORM>
34
35 <% include('/elements/footer.html') %>
36 <%init>
37
38 die "access denied"
39   unless $FS::CurrentUser::CurrentUser->access_right('Financial reports');
40
41 </%init>