diff options
Diffstat (limited to 'httemplate/search/cust_tax_exempt.cgi')
-rw-r--r-- | httemplate/search/cust_tax_exempt.cgi | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/httemplate/search/cust_tax_exempt.cgi b/httemplate/search/cust_tax_exempt.cgi index 3704b208a..f075d1926 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'); |