blob: 27906e0c3a77a81b6f7157c5b78173679165ae42 (
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
|
<& /elements/header.html, 'Sales commission report per package' &>
% if ($FS::CurrentUser::CurrentUser->access_right('Send reports to customers'))
% {
<P>
<& /elements/popup_link-send_report_batch.html,
reportname => 'sales_commission_pkg',
label => emt('Send these reports by email'),
&>
</P>
% }
<FORM ACTION="sales_commission_pkg.html">
<TABLE BGCOLOR="#cccccc" CELLSPACING=0>
<& /elements/tr-select-agent-sales.html,
'agent_empty_label' => '(any)',
'sales_disable_empty' => 1,
&>
<& /elements/tr-input-beginning_ending.html &>
</TABLE>
<BR>
<INPUT TYPE="submit" VALUE="Get Report">
<& /elements/footer.html &>
<%init>
die "access denied"
unless $FS::CurrentUser::CurrentUser->access_right('Financial reports');
</%init>
|