X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fsearch%2Fcust_tax_exempt.cgi;h=91b2001dc57e1a6237af686fa0b9df76fbc41c6e;hp=3704b208aab813282c646982ae190b9f17a2be14;hb=f822e27a1e00594332ffa487a1c284234c5580a6;hpb=624b2d44625f69d71175c3348cae635d580c890b diff --git a/httemplate/search/cust_tax_exempt.cgi b/httemplate/search/cust_tax_exempt.cgi index 3704b208a..91b2001dc 100644 --- a/httemplate/search/cust_tax_exempt.cgi +++ b/httemplate/search/cust_tax_exempt.cgi @@ -1,4 +1,4 @@ -<% include( 'elements/search.html', +<& elements/search.html, 'title' => 'Legacy tax exemptions', 'name' => 'legacy tax exemptions', 'query' => $query, @@ -46,13 +46,11 @@ '', FS::UI::Web::cust_styles(), ], - ) -%> + +&> <%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'); @@ -63,7 +61,6 @@ my @where = (); #if ( $beginning || $ending ) { # push @where, "_date >= $beginning", # "_date <= $ending"; -# #"payby != 'COMP'; #} if ( $cgi->param('agentnum') =~ /^(\d+)$/ ) {