1 <% include('/elements/header.html', 'Customer Accounting Summary Report' ) %>
3 <FORM ACTION="customer_accounting_summary.html" METHOD="GET">
5 <TABLE BGCOLOR="#cccccc" CELLSPACING=0>
7 <% include( '/elements/tr-select-agent.html',
8 'curr_value' => scalar( $cgi->param('agentnum') ),
14 <% include( '/elements/tr-select-part_referral.html',
15 'curr_value' => scalar( $cgi->param('refnum') ),
16 'label' => 'Advertising source ',
18 'empty_label' => 'all',
22 <% include('/elements/tr-select-from_to.html' ) %>
24 <% include( '/elements/tr-select-cust_main-status.html',
25 'label' => 'Customer Status'
28 <& /elements/tr-select-cust_class.html,
29 'label' => 'Customer Class',
30 'field' => 'cust_classnum',
34 <& /elements/tr-checkbox.html,
35 'label' => 'Separate setup fees',
36 'field' => 'setuprecur',
40 <& /elements/tr-checkbox.html,
41 'label' => 'Show Gross & Discounted',
42 'field' => 'grossdiscount',
44 'curr_value' => defined($cgi->param('grossdiscount'))
45 ? scalar($cgi->param('grossdiscount'))
46 : 1, #default to on in v4
52 <INPUT TYPE="submit" VALUE="Get Report">
56 <% include('/elements/footer.html') %>
60 unless $FS::CurrentUser::CurrentUser->access_right('Financial reports');