|
@@ -1968,6 +1968,10 @@ class Consult extends Base
|
|
|
if ($status !== "") {
|
|
|
$where[] = ['a.status','=',$status];
|
|
|
}
|
|
|
+ $tax_status = isset($this->post['tax_status']) && $this->post['tax_status'] !== "" ? intval($this->post['tax_status']) : "";
|
|
|
+ if ($tax_status !== "") {
|
|
|
+ $where[] = ['a.tax_status','=',$tax_status];
|
|
|
+ }
|
|
|
$companyNo = isset($this->post['companyNo']) && $this->post['companyNo'] !== "" ? trim($this->post['companyNo']) : "";
|
|
|
if ($companyNo !== "") {
|
|
|
$where[] = ['companyNo','=',$companyNo];
|