X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2Freport_cust_pay.html;h=d7cb0aec90938ddd92ffeff4e7b82081d2ca144f;hb=5185768dd336f0a9e8fc4fb757b4e968baa5d8ed;hp=8adf7dc1307eff89e03a27d76ea54d6b5d85148e;hpb=2c757d7db4cb6a7b9655de13206fcc84fb7ce61f;p=freeside.git diff --git a/httemplate/search/report_cust_pay.html b/httemplate/search/report_cust_pay.html index 8adf7dc13..d7cb0aec9 100644 --- a/httemplate/search/report_cust_pay.html +++ b/httemplate/search/report_cust_pay.html @@ -1,4 +1,4 @@ -<%= include('/elements/header.html', 'Payment report' ) %> +<% include('/elements/header.html', 'Payment report' ) %>
@@ -8,7 +8,7 @@ Payments of type: - @@ -25,13 +25,42 @@ - <%= include( '/elements/tr-select-agent.html', - $cgi->param('agentnum'), - 'label' => 'for agent: ', + + + + Check #: + + + + + + <% include( '/elements/tr-select-agent.html', + 'curr_value' => scalar($cgi->param('agentnum')), + 'label' => 'for agent: ', ) %> - <%= include( '/elements/tr-input-beginning_ending.html' ) %> + <% include( '/elements/tr-input-beginning_ending.html' ) %> + + <% include( '/elements/tr-input-lessthan_greaterthan.html', + 'label' => 'Amount', + 'field' => 'paid', + ) + %> @@ -40,4 +69,10 @@
-<%= include('/elements/footer.html') %> +<% include('/elements/footer.html') %> +<%init> + +die "access denied" + unless $FS::CurrentUser::CurrentUser->access_right('Financial reports'); + +