summaryrefslogtreecommitdiff
path: root/httemplate/search/report_cust_credit.html
diff options
context:
space:
mode:
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>