X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2Freport_cust_pay.html;h=8d41c802de457ec4bab4155f60cf22bf4a8d777f;hb=080c42eda4e4b94fc588b284a7f770d427c57fea;hp=f9875e20cdd5ba9ebb10814c9debe63649a5025d;hpb=3ce7691203a7737406bf2d4442f7fd84b81f847e;p=freeside.git diff --git a/httemplate/search/report_cust_pay.html b/httemplate/search/report_cust_pay.html index f9875e20c..8d41c802d 100644 --- a/httemplate/search/report_cust_pay.html +++ b/httemplate/search/report_cust_pay.html @@ -1,14 +1,20 @@ -<% include('/elements/header.html', 'Payment report' ) %> +<% include('/elements/header.html', $title ) %> -
+ - +
+ + + + + + + + + + + <% include( '/elements/tr-select-agent.html', - $cgi->param('agentnum'), - 'label' => 'for agent: ', + 'curr_value' => scalar($cgi->param('agentnum')), + 'label' => 'for agent: ', + 'disable_empty' => 0, ) %> - <% include( '/elements/tr-input-beginning_ending.html' ) %> + <% include( '/elements/tr-select-otaker.html' ) %> + + + + + + +% if ( $void ) { + + + + +% } + + <% include( '/elements/tr-input-lessthan_greaterthan.html', + 'label' => 'Amount', + 'field' => 'paid', + ) + %> + + <% include( '/elements/tr-checkbox.html', + 'label' => 'Include tax names', + 'field' => 'tax_names', + 'value' => 1, + ) + %> +
+ Search options +
Payments of type: - @@ -25,13 +31,78 @@
Check #: + +
Payment + + <% include( '/elements/tr-input-beginning_ending.html', + layout => 'horiz', + ) + %> +
+
Voided + + <% include( '/elements/tr-input-beginning_ending.html', + prefix => 'void', + layout => 'horiz', + ) + %> +
+
@@ -41,3 +112,13 @@
<% include('/elements/footer.html') %> +<%init> + +die "access denied" + unless $FS::CurrentUser::CurrentUser->access_right('Financial reports'); + +my $void = $cgi->param('void') ? 1 : 0; + +my $title = $void ? 'Voided payment report' : 'Payment report'; + +