X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2Felements%2Freport_cust_pay_or_refund.html;h=9af4e33dce570aa40e46c84f1ccd165d7ab07ad4;hb=0f239ed9a3d20edc4974eed38d2816f20185aefc;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..9af4e33dc 100644 --- a/httemplate/search/elements/report_cust_pay_or_refund.html +++ b/httemplate/search/elements/report_cust_pay_or_refund.html @@ -17,6 +17,7 @@ Examples:
+ @@ -111,6 +112,15 @@ Examples: ) %> +% if ( $table eq 'cust_pay' ) { + <% include( '/elements/tr-checkbox.html', + 'label' => 'Include tax names', + 'field' => 'tax_names', + 'value' => 1, + ) + %> +% } +

@@ -129,8 +139,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;