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