Fix ci
This commit is contained in:
parent
7d2851ec48
commit
c2952cb4ad
2 changed files with 7 additions and 6 deletions
|
|
@ -172,9 +172,10 @@ $arrayofeinvoiceneed = array(
|
|||
'PL' => array('module' => array('ksef'), 'search' => 'ksef')
|
||||
);
|
||||
|
||||
$urleinvoice = '';
|
||||
|
||||
if ($mysoc->country_code && in_array($mysoc->country_code, array_keys($arrayofeinvoiceneed))) {
|
||||
$einvoiceneed = $arrayofeinvoiceneed[$mysoc->country_code];
|
||||
$urleinvoice = '';
|
||||
$modulefound = '';
|
||||
if (!empty($einvoiceneed['module'])) {
|
||||
foreach ($einvoiceneed['module'] as $module) {
|
||||
|
|
|
|||
|
|
@ -252,11 +252,11 @@ class ToolThirdParty extends McpTool
|
|||
$sql .= " AND s.rowid = " . (int) $query;
|
||||
$limit = 1;
|
||||
} else {
|
||||
$sql .= " AND (s.nom LIKE '%" . $this->db->escape($q) . "%'";
|
||||
$sql .= " OR s.name_alias LIKE '%" . $this->db->escape($q) . "%'";
|
||||
$sql .= " OR s.code_client LIKE '%" . $this->db->escape($q) . "%'";
|
||||
$sql .= " OR s.code_fournisseur LIKE '%" . $this->db->escape($q) . "%'";
|
||||
$sql .= " OR s.email LIKE '%" . $this->db->escape($q) . "%')";
|
||||
$sql .= " AND (s.nom LIKE '%" . $this->db->escape($query) . "%'";
|
||||
$sql .= " OR s.name_alias LIKE '%" . $this->db->escape($query) . "%'";
|
||||
$sql .= " OR s.code_client LIKE '%" . $this->db->escape($query) . "%'";
|
||||
$sql .= " OR s.code_fournisseur LIKE '%" . $this->db->escape($query) . "%'";
|
||||
$sql .= " OR s.email LIKE '%" . $this->db->escape($query) . "%')";
|
||||
}
|
||||
|
||||
if ($type === 'customer') {
|
||||
|
|
|
|||
Loading…
Reference in a new issue