fix detail links from tax report, #22829
authorMark Wells <mark@freeside.biz>
Wed, 5 Jun 2013 21:42:30 +0000 (14:42 -0700)
committerMark Wells <mark@freeside.biz>
Wed, 5 Jun 2013 21:42:30 +0000 (14:42 -0700)
httemplate/search/cust_bill_pkg.cgi

index 3a3b0fe..1830511 100644 (file)
@@ -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');