summaryrefslogtreecommitdiff
path: root/httemplate/search/cust_tax_exempt.cgi
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2013-02-05 16:23:29 -0800
committerMark Wells <mark@freeside.biz>2013-02-05 16:23:29 -0800
commitfed12e8214a8a951377961ccbe7a09171b1e38c2 (patch)
treeb3c902ff90c7397d49716844506a81f921ad9fa4 /httemplate/search/cust_tax_exempt.cgi
parentfc8d730d0a7b31b617c963c5619bd3f45c5c3eb6 (diff)
make customer location columns available in various reports, #940
Diffstat (limited to 'httemplate/search/cust_tax_exempt.cgi')
-rw-r--r--httemplate/search/cust_tax_exempt.cgi4
1 files changed, 1 insertions, 3 deletions
diff --git a/httemplate/search/cust_tax_exempt.cgi b/httemplate/search/cust_tax_exempt.cgi
index 3704b20..f075d19 100644
--- a/httemplate/search/cust_tax_exempt.cgi
+++ b/httemplate/search/cust_tax_exempt.cgi
@@ -50,9 +50,7 @@
%>
<%init>
-my $join_cust = "
- LEFT JOIN cust_main USING ( custnum )
-";
+my $join_cust = FS::UI::Web::join_cust_main('cust_tax_exempt');
die "access denied"
unless $FS::CurrentUser::CurrentUser->access_right('View customer tax exemptions');