summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2013-06-05 14:40:26 -0700
committerMark Wells <mark@freeside.biz>2013-06-05 14:42:48 -0700
commit367684eb67f3e2d1153fb5afc0b6dfcff2ea6bc0 (patch)
treecafe887e6bde72a6cbdf5180e53eccaa15b93597
parent44aeae65935e8d018d995d4fadd225df9498848c (diff)
fix detail links from tax report, #22829
-rw-r--r--httemplate/search/cust_bill_pkg.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/search/cust_bill_pkg.cgi b/httemplate/search/cust_bill_pkg.cgi
index 3a3b0feb9..183051170 100644
--- a/httemplate/search/cust_bill_pkg.cgi
+++ b/httemplate/search/cust_bill_pkg.cgi
@@ -222,7 +222,7 @@ if ( $conf->exists('enable_taxclasses') ) {
# valid in both the tax and non-tax cases
my $join_cust =
- " LEFT JOIN cust_bill USING (invnum)".
+ " LEFT JOIN cust_bill ON (cust_bill_pkg.invnum = cust_bill.invnum)".
# use cust_pkg.locationnum if it exists
FS::UI::Web::join_cust_main('cust_bill', 'cust_pkg');