diff options
author | Ivan Kohler <ivan@freeside.biz> | 2014-11-02 12:33:23 -0800 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2014-11-02 12:33:23 -0800 |
commit | e679fff4ed72a972cc650a394814e6869719f98b (patch) | |
tree | 78cd86d15b309574286629e0b92855985558afac /FS | |
parent | cbcd29b65e7899f487e962a301435a32dba001e2 (diff) |
search for tax-exempt customers, RT#31481
Diffstat (limited to 'FS')
-rw-r--r-- | FS/FS/cust_main/Search.pm | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/FS/FS/cust_main/Search.pm b/FS/FS/cust_main/Search.pm index bb5891d5d..461633a72 100644 --- a/FS/FS/cust_main/Search.pm +++ b/FS/FS/cust_main/Search.pm @@ -832,6 +832,18 @@ sub search { if $params->{'no_POST'}; ## + # "tax exempt" checkbox + ## + push @where, "cust_main.tax = 'Y'" + if $params->{'tax'}; + + ## + # "not tax exempt" checkbox + ## + push @where, "(cust_main.tax = '' OR cust_main.tax IS NULL )" + if $params->{'no_tax'}; + + ## # dates ## |