projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix new tax report w/FS::tax_rate_location->location_sql, RT#12332
[freeside.git]
/
httemplate
/
search
/
report_cust_credit.html
diff --git
a/httemplate/search/report_cust_credit.html
b/httemplate/search/report_cust_credit.html
index
c7e5522
..
16a75eb
100644
(file)
--- 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">
<FORM ACTION="cust_credit.html" METHOD="GET">
<INPUT TYPE="hidden" NAME="magic" VALUE="_date">
+<INPUT TYPE="hidden" NAME="unapplied" VALUE="<% $unapplied %>">
<TABLE>
<TABLE>
@@
-48,5
+49,9
@@
my %access_user =
map { $_ => qsearchs('access_user',{'usernum'=>$_})->username }
@usernum;
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>
</%init>