projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add per-customer "Invoice reports" link, RT#13802
[freeside.git]
/
httemplate
/
search
/
report_tax.cgi
diff --git
a/httemplate/search/report_tax.cgi
b/httemplate/search/report_tax.cgi
index
93e5b51
..
0cd652d
100755
(executable)
--- a/
httemplate/search/report_tax.cgi
+++ b/
httemplate/search/report_tax.cgi
@@
-366,12
+366,13
@@
foreach my $r ( qsearch({ 'table' => 'cust_main_county',
} else {
} else {
- $regions{$label}->{'url_param'} .= ';taxclassNULL=1'
- if $cgi->param('show_taxclasses');
-
my $same_sql = $r->sql_taxclass_sameregion;
$mywhere .= " AND $same_sql" if $same_sql;
my $same_sql = $r->sql_taxclass_sameregion;
$mywhere .= " AND $same_sql" if $same_sql;
+ $regions{$label}->{'url_param'} .= ';taxclassNULL=1'
+ if $cgi->param('show_taxclasses')
+ || $same_sql;
+
}
my $fromwhere = "$from_join_cust_pkg $mywhere"; # AND payby != 'COMP' ";
}
my $fromwhere = "$from_join_cust_pkg $mywhere"; # AND payby != 'COMP' ";