X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2Freport_sales_commission_pkg.html;h=27906e0c3a77a81b6f7157c5b78173679165ae42;hb=b0a7df36df52eebbc75edca3480a0b697459a187;hp=6adf090e943f44d72f1d3dcd33c66f61070d1ec9;hpb=e18065ceed3a298c5bd11243419a9d737ea3362e;p=freeside.git diff --git a/httemplate/search/report_sales_commission_pkg.html b/httemplate/search/report_sales_commission_pkg.html index 6adf090e9..27906e0c3 100644 --- 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' &> +% if ($FS::CurrentUser::CurrentUser->access_right('Send reports to customers')) +% { +

+<& /elements/popup_link-send_report_batch.html, + reportname => 'sales_commission_pkg', + label => emt('Send these reports by email'), +&> +

+% } +