projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
c62c905
)
fix region-filtering of credit application search from tax report, #37088
author
Mark Wells
<mark@freeside.biz>
Sat, 3 Oct 2015 23:12:38 +0000
(16:12 -0700)
committer
Mark Wells
<mark@freeside.biz>
Sat, 3 Oct 2015 23:35:24 +0000
(16:35 -0700)
httemplate/search/report_tax.cgi
patch
|
blob
|
history
diff --git
a/httemplate/search/report_tax.cgi
b/httemplate/search/report_tax.cgi
index
615abe5
..
0ad143f
100644
(file)
--- a/
httemplate/search/report_tax.cgi
+++ b/
httemplate/search/report_tax.cgi
@@
-77,7
+77,7
@@
TD.rowhead { font-weight: bold; text-align: left; padding: 0px 3px }
% # cust_bill_pkg.cgi wants a list of specific taxnums (and package class)
% # cust_credit_bill_pkg.html wants a geographic scope (and package class)
% my $rowlink = ';taxnum=' . $row->{taxnums};
% # cust_bill_pkg.cgi wants a list of specific taxnums (and package class)
% # cust_credit_bill_pkg.html wants a geographic scope (and package class)
% my $rowlink = ';taxnum=' . $row->{taxnums};
-% my $rowregion = '
'
;
+% my $rowregion = '
;country=' . $cgi->param('country')
;
% foreach my $loc (qw(state county city district)) {
% if ( $row->{$loc} ) {
% $rowregion .= ";$loc=" . uri_escape($row->{$loc});
% foreach my $loc (qw(state county city district)) {
% if ( $row->{$loc} ) {
% $rowregion .= ";$loc=" . uri_escape($row->{$loc});
@@
-88,6
+88,7
@@
TD.rowhead { font-weight: bold; text-align: left; padding: 0px 3px }
% $rowlink .= ';classnum=' . ($row->{pkgclass} || 0);
% $rowregion .= ';classnum=' . ($row->{pkgclass} || 0);
% }
% $rowlink .= ';classnum=' . ($row->{pkgclass} || 0);
% $rowregion .= ';classnum=' . ($row->{pkgclass} || 0);
% }
+%warn $rowregion;
%
% if ( $row->{total} ) {
</TBODY><TBODY CLASS="total">
%
% if ( $row->{total} ) {
</TBODY><TBODY CLASS="total">