X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2Felements%2Freport_cust_pay_or_refund.html;h=7a1216bb64fde08d7b70ba0ec6997b82e7bacdb1;hb=e5d6af11f52aabe8c9e6e12ce43c3401ccf025a8;hp=dff831e5cb2702ab6cc00250da18a6543e81c4f0;hpb=80f722b82cb92fa49ee172230be3c61f72e56f41;p=freeside.git diff --git a/httemplate/search/elements/report_cust_pay_or_refund.html b/httemplate/search/elements/report_cust_pay_or_refund.html index dff831e5c..7a1216bb6 100644 --- a/httemplate/search/elements/report_cust_pay_or_refund.html +++ b/httemplate/search/elements/report_cust_pay_or_refund.html @@ -13,16 +13,17 @@ Examples: ) -<% include('/elements/header.html', $title ) %> +<& /elements/header.html, mt($title) &>
+ @@ -30,18 +31,18 @@ Examples: @@ -49,76 +50,105 @@ Examples: - + + + + + - <% include( '/elements/tr-select-agent.html', + <& /elements/tr-select-agent.html, 'curr_value' => scalar($cgi->param('agentnum')), - 'label' => 'for agent: ', + 'label' => emt('for agent: '), 'disable_empty' => 0, - ) - %> + &> - <% include( '/elements/tr-select-user.html' ) %> + <& /elements/tr-select-user.html &> - + % if ( $void ) { - + % } - <% include( '/elements/tr-input-lessthan_greaterthan.html', - 'label' => 'Amount', - 'field' => 'paid', - ) - %> + <& /elements/tr-input-lessthan_greaterthan.html, + 'label' => emt('Amount'), + 'field' => 'paid', + &> + +% if ( $table eq 'cust_pay' ) { + <& /elements/tr-checkbox.html, + 'label' => emt('Include tax names'), + 'field' => 'tax_names', + 'value' => 1, + &> +% }
- Search options + <% mt('Search options') |h %>
<% ucfirst(PL($name_singular)) %> of type:
Check #: <% mt('Check #:') |h %> - + +
+ + <% mt('Transaction #') |h %> + + +
Payment<% mt('Payment') |h %> - <% include( '/elements/tr-input-beginning_ending.html', + <& /elements/tr-input-beginning_ending.html, layout => 'horiz', - ) - %> + &>
Voided<% mt('Voided') |h %> - <% include( '/elements/tr-input-beginning_ending.html', + <& /elements/tr-input-beginning_ending.html, prefix => 'void', layout => 'horiz', - ) - %> + &>

- +
-<% include('/elements/footer.html') %> +<& /elements/footer.html &> <%init> my %opt = @_; @@ -129,8 +159,11 @@ die "access denied" unless $FS::CurrentUser::CurrentUser->access_right('Financial reports'); my $void = $cgi->param('void') ? 1 : 0; +my $unapplied = $cgi->param('unapplied') ? 1 : 0; -my $title = $void ? "Voided $name_singular report" : "\u$name_singular report"; +my $title = $void ? "Voided $name_singular report" : + $unapplied ? "Unapplied $name_singular report" : + "\u$name_singular report" ; $table .= '_void' if $void;