X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fsearch%2Freport_cust_pay_batch.html;h=2d3ef068a741c08f51f8f2336e46cafa92cddc61;hp=0dc4bc1b76a3e1ea91c87472823e6829c28f2f0f;hb=ae2ce7f3fc2a0fe00f05145ce64e8b6b8c034631;hpb=6af1b1bfa25e5ececef5e0dcd38b55917121cee2 diff --git a/httemplate/search/report_cust_pay_batch.html b/httemplate/search/report_cust_pay_batch.html index 0dc4bc1b7..2d3ef068a 100644 --- a/httemplate/search/report_cust_pay_batch.html +++ b/httemplate/search/report_cust_pay_batch.html @@ -16,8 +16,9 @@ <% include( '/elements/tr-select-agent.html', - $cgi->param('agentnum'), - 'label' => 'for agent: ', + 'curr_value' => scalar( $cgi->param('agentnum') ), + 'label' => 'For agent: ', + 'disable_empty' => 0 ) %> @@ -35,3 +36,9 @@ <% include('/elements/footer.html') %> +<%init> + +die "access denied" + unless $FS::CurrentUser::CurrentUser->access_right('Financial reports'); + +