projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RT#39627: System log daily context also includes Cron::bill and Cron::upload results
[freeside.git]
/
httemplate
/
search
/
report_sales_commission_pkg.html
diff --git
a/httemplate/search/report_sales_commission_pkg.html
b/httemplate/search/report_sales_commission_pkg.html
index
6adf090
..
27906e0
100644
(file)
--- a/
httemplate/search/report_sales_commission_pkg.html
+++ b/
httemplate/search/report_sales_commission_pkg.html
@@
-1,5
+1,15
@@
<& /elements/header.html, 'Sales commission report per package' &>
<& /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>
<FORM ACTION="sales_commission_pkg.html">
<TABLE BGCOLOR="#cccccc" CELLSPACING=0>