<% include('/elements/header.html', $title ) %>
<% include( '/elements/tr-select-agent.html', 'curr_value' => scalar($cgi->param('agentnum')), 'label' => 'for agent: ', 'disable_empty' => 0, ) %> <% include( '/elements/tr-select-otaker.html' ) %> % if ( $void ) { % } <% include( '/elements/tr-input-lessthan_greaterthan.html', 'label' => 'Amount', 'field' => 'paid', ) %>
Search options
Payments of type:
Check #:
Payment <% include( '/elements/tr-input-beginning_ending.html', layout => 'horiz', ) %>
Voided <% include( '/elements/tr-input-beginning_ending.html', prefix => 'void', layout => 'horiz', ) %>

<% 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';