From 3e7de7eb51f9ea9b135f42ea337c0ec75deceeab Mon Sep 17 00:00:00 2001 From: Mark Wells Date: Wed, 5 Jun 2013 14:42:30 -0700 Subject: fix detail links from tax report, #22829 --- httemplate/search/cust_bill_pkg.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'httemplate') 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'); -- cgit v1.2.1 From 1ef5e596e2dfefb42ae0066b621bf0d66fc03193 Mon Sep 17 00:00:00 2001 From: Mark Wells Date: Wed, 5 Jun 2013 16:12:54 -0700 Subject: make zip code report downloadable again, fallout from #940 --- httemplate/search/cust_main-zip.html | 1 - 1 file changed, 1 deletion(-) (limited to 'httemplate') diff --git a/httemplate/search/cust_main-zip.html b/httemplate/search/cust_main-zip.html index f5f8c8f3c..e22d3ea2e 100644 --- a/httemplate/search/cust_main-zip.html +++ b/httemplate/search/cust_main-zip.html @@ -4,7 +4,6 @@ 'query' => $sql_query, 'count_query' => $count_sql, 'header' => [ 'Zip code', 'Customers', ], - 'fields' => [ 0, 1 ], 'links' => [ '', $link ], &> <%init> -- cgit v1.2.1