summaryrefslogtreecommitdiff
path: root/httemplate/search/report_customer_accounting_summary.html
blob: f2a13a27be0492b7ebae01424f4afb551a845907 (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
<% include('/elements/header.html', 'Customer Accounting Summary Report' ) %>

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

  <TABLE BGCOLOR="#cccccc" CELLSPACING=0>

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

    <% include( '/elements/tr-select-part_referral.html',
                 'curr_value'    => scalar( $cgi->param('refnum') ),
                 'label'         => 'Advertising source ',
                 'disable_empty' => 0,
                 'empty_label'   => 'all',
             )
    %>

    <% include('/elements/tr-select-from_to.html' ) %>
    
    <% include( '/elements/tr-select-cust_main-status.html',
		'label' => 'Customer Status'
    ) %>
    
  </TABLE>

<BR>
<INPUT TYPE="submit" VALUE="Get Report">

</FORM>

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

die "access denied"
  unless $FS::CurrentUser::CurrentUser->access_right('Financial reports');

</%init>