|
@@ -2825,7 +2825,7 @@ class InvoiceController extends DooController {
|
|
|
if (empty($MebSea)){
|
|
|
$con = ' and invoiceNo like "NULL" ';
|
|
|
}else {
|
|
|
- $con = ' and invoiceNo like "%' . $MebSea . '%" ';
|
|
|
+ $con = ' and (invoiceNo like "%' . $MebSea . '%" or invoiceTitle like "%' . $MebSea . '%" or invoiceCompany like "%' . $MebSea . '%" )';
|
|
|
}
|
|
|
// printStatus=1 and
|
|
|
$sql = " (untreadStatus=0 or untreadStatus=3) and status=2 and sid=" . $this->staff [0] ['sid'] .$con ;
|