1 <& /elements/header.html, 'Sales commission report per package' &>
3 % if ($FS::CurrentUser::CurrentUser->access_right('Send reports to customers'))
6 <& /elements/popup_link-send_report_batch.html,
7 reportname => 'sales_commission_pkg',
8 label => emt('Send these reports by email'),
13 <FORM ACTION="sales_commission_pkg.html">
15 <TABLE BGCOLOR="#cccccc" CELLSPACING=0>
17 <& /elements/tr-select-agent-sales.html,
18 'agent_empty_label' => '(any)',
19 'sales_disable_empty' => 1,
22 <& /elements/tr-input-beginning_ending.html &>
27 <INPUT TYPE="submit" VALUE="Get Report">
29 <& /elements/footer.html &>
33 unless $FS::CurrentUser::CurrentUser->access_right('Financial reports');