blob: 792c3353ebebcd1ce5c98260aecb590955e29423 (
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
42
43
44
45
46
47
48
49
50
51
52
|
<% include('/elements/header.html', 'Sales person commission report' ) %>
<FORM ACTION="sales_commission.html">
<TABLE BGCOLOR="#cccccc" CELLSPACING=0>
<& /elements/tr-select-agent.html,
'onchange' => 'agent_changed(this)',
&>
<SCRIPT TYPE="text/javascript">
function agent_changed(what) {
salesnum_agentnum_changed(what);
}
<&| /elements/onload.js &>
agent_changed(document.getElementById('agentnum'))
</&>
</SCRIPT>
<& /elements/tr-select-sales.html,
'empty_label' => 'all',
&>
<& /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>
|