diff options
author | ivan <ivan> | 2008-07-09 03:18:48 +0000 |
---|---|---|
committer | ivan <ivan> | 2008-07-09 03:18:48 +0000 |
commit | 80a95c44afe24cb2e761da9a144f0a22d49df984 (patch) | |
tree | 362bbe4f3b269013f4718f97e980bc853463dbec /httemplate/search/cust_tax_exempt.cgi | |
parent | 3b39e6d2f5b8e5e0be175d8f0810cdd66ed66d96 (diff) |
search legacy tax exemptions by customer status
Diffstat (limited to 'httemplate/search/cust_tax_exempt.cgi')
-rw-r--r-- | httemplate/search/cust_tax_exempt.cgi | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/httemplate/search/cust_tax_exempt.cgi b/httemplate/search/cust_tax_exempt.cgi index 551b75d6f..721272632 100644 --- a/httemplate/search/cust_tax_exempt.cgi +++ b/httemplate/search/cust_tax_exempt.cgi @@ -67,6 +67,13 @@ if ( $cgi->param('custnum') =~ /^(\d+)$/ ) { push @where, "cust_main.custnum = $1"; } +#prospect active inactive suspended cancelled +if ( grep { $cgi->param('status') eq $_ } FS::cust_main->statuses() ) { + my $method = $cgi->param('status'). '_sql'; + #push @where, $class->$method(); + push @where, FS::cust_main->$method(); +} + if ( $cgi->param('out') ) { push @where, " |