projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
link new tax report to cust_credit_bill_pkg for credits, RT#12332
[freeside.git]
/
httemplate
/
search
/
elements
/
report_cust_pay_or_refund.html
diff --git
a/httemplate/search/elements/report_cust_pay_or_refund.html
b/httemplate/search/elements/report_cust_pay_or_refund.html
index
dff831e
..
9af4e33
100644
(file)
--- 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:
<FORM ACTION="<% $table %>.html" METHOD="GET">
<INPUT TYPE="hidden" NAME="magic" VALUE="_date">
<FORM ACTION="<% $table %>.html" METHOD="GET">
<INPUT TYPE="hidden" NAME="magic" VALUE="_date">
+<INPUT TYPE="hidden" NAME="unapplied" VALUE="<% $unapplied %>">
<TABLE BGCOLOR="#cccccc" CELLSPACING=0>
<TABLE BGCOLOR="#cccccc" CELLSPACING=0>
@@
-111,6
+112,15
@@
Examples:
)
%>
)
%>
+% if ( $table eq 'cust_pay' ) {
+ <% include( '/elements/tr-checkbox.html',
+ 'label' => 'Include tax names',
+ 'field' => 'tax_names',
+ 'value' => 1,
+ )
+ %>
+% }
+
</TABLE>
<BR>
</TABLE>
<BR>
@@
-129,8
+139,11
@@
die "access denied"
unless $FS::CurrentUser::CurrentUser->access_right('Financial reports');
my $void = $cgi->param('void') ? 1 : 0;
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;
</%init>
$table .= '_void' if $void;
</%init>