summaryrefslogtreecommitdiff
path: root/httemplate/search/report_cust_credit.html
diff options
context:
space:
mode:
authormark <mark>2010-09-22 00:08:30 +0000
committermark <mark>2010-09-22 00:08:30 +0000
commit0f239ed9a3d20edc4974eed38d2816f20185aefc (patch)
treedf2d8c1bd2da345a0d6ce163840c04fd6427d81f /httemplate/search/report_cust_credit.html
parentd522fe5d5d1898165af4a92151412b2fe943f9ea (diff)
unapplied payment/refund/credit reports, RT#7503
Diffstat (limited to 'httemplate/search/report_cust_credit.html')
-rw-r--r--httemplate/search/report_cust_credit.html7
1 files changed, 6 insertions, 1 deletions
diff --git a/httemplate/search/report_cust_credit.html b/httemplate/search/report_cust_credit.html
index c7e552238..16a75ebf4 100644
--- a/httemplate/search/report_cust_credit.html
+++ b/httemplate/search/report_cust_credit.html
@@ -1,7 +1,8 @@
-<% include('/elements/header.html', 'Credit report' ) %>
+<% include('/elements/header.html', $title ) %>
<FORM ACTION="cust_credit.html" METHOD="GET">
<INPUT TYPE="hidden" NAME="magic" VALUE="_date">
+<INPUT TYPE="hidden" NAME="unapplied" VALUE="<% $unapplied %>">
<TABLE>
@@ -48,5 +49,9 @@ my %access_user =
map { $_ => qsearchs('access_user',{'usernum'=>$_})->username }
@usernum;
+my $unapplied = $cgi->param('unapplied') ? 1 : 0;
+
+my $title = $cgi->param('unapplied') ?
+ 'Unapplied credit report' : 'Credit report';
</%init>