X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2Felements%2Freport_cust_pay_or_refund.html;h=9c4ca2761db3efdd97dc5d8e0a60aadf3c2aea42;hb=4778dab8ae1c8cb6e6c784c9da1e475072479516;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..9c4ca2761 100644 --- a/httemplate/search/elements/report_cust_pay_or_refund.html +++ b/httemplate/search/elements/report_cust_pay_or_refund.html @@ -13,112 +13,163 @@ Examples: ) %doc> -<% include('/elements/header.html', $title ) %> +<& /elements/header.html, mt($title) &>
-<% include('/elements/footer.html') %> +<& /elements/footer.html &> <%init> my %opt = @_; @@ -128,9 +179,14 @@ my $name_singular = $opt{'name_singular'}; die "access denied" unless $FS::CurrentUser::CurrentUser->access_right('Financial reports'); +my $conf = new FS::Conf; + 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; %init>