summaryrefslogtreecommitdiff
path: root/httemplate/search/report_sales_commission.html
blob: 9ad9e6a453f5a07f3c652c55743177acba94cb7b (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
<% include('/elements/header.html', 'Sales person commission report' ) %>

<FORM ACTION="sales_commission.html">

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

<& /elements/tr-select-agent-sales.html &>

<& /elements/tr-checkbox.html,
    'label' => 'Customer sales person if there is no package sales person',
    'field' => 'cust_main_sales',
    'value' => 'Y',
&>

<& /elements/tr-checkbox.html,
    'label' => 'Show paid sales only',
    'field' => 'paid',
    'value' => 'Y',
&> 

<& /elements/tr-input-beginning_ending.html &>

</TABLE>

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

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

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

</%init>