X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2Freport_cust_pay.html;h=1dc1d7a7d5be4ccf628844799844fbba364c38b3;hb=6dc850028dbd122e60e2ffd7a5be74451f9c687e;hp=0327e042e28a06361ed8a2b0a76ed5f33f7975f1;hpb=590603ecaea3184f64530755a76626be8205da49;p=freeside.git diff --git a/httemplate/search/report_cust_pay.html b/httemplate/search/report_cust_pay.html index 0327e042e..1dc1d7a7d 100644 --- a/httemplate/search/report_cust_pay.html +++ b/httemplate/search/report_cust_pay.html @@ -1,9 +1,15 @@ -<% include('/elements/header.html', 'Payment report' ) %> +<% include('/elements/header.html', $title ) %> -
+ - +
+ + + + @@ -49,12 +55,40 @@ <% 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', @@ -75,4 +109,8 @@ 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'; +
+ Search options +
Payments of type:
Payment + + <% include( '/elements/tr-input-beginning_ending.html', + layout => 'horiz', + ) + %> +
+
Voided + + <% include( '/elements/tr-input-beginning_ending.html', + prefix => 'void', + layout => 'horiz', + ) + %> +
+