let keep it to expedition
This commit is contained in:
parent
6edaa7ac11
commit
ca269864f7
1 changed files with 1 additions and 1 deletions
|
|
@ -836,7 +836,7 @@ if ($object->id > 0)
|
|||
$sql .= ', s.rowid as socid';
|
||||
$sql .= " FROM ".MAIN_DB_PREFIX."societe as s, ".MAIN_DB_PREFIX."expedition as e";
|
||||
$sql .= " WHERE e.fk_soc = s.rowid AND s.rowid = ".$object->id;
|
||||
$sql .= " AND e.entity IN (".getEntity('commande').")";
|
||||
$sql .= " AND e.entity IN (".getEntity('expedition').")";
|
||||
$sql .= ' GROUP BY e.rowid';
|
||||
$sql .= ', e.ref';
|
||||
$sql .= ', e.date_creation';
|
||||
|
|
|
|||
Loading…
Reference in a new issue