From ca269864f723fd2e15e98654967fd01210f015c3 Mon Sep 17 00:00:00 2001 From: florian HENRY Date: Fri, 13 Mar 2020 14:55:34 +0100 Subject: [PATCH] let keep it to expedition --- htdocs/comm/card.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/comm/card.php b/htdocs/comm/card.php index 969d7142139..fcd3823b0c2 100644 --- a/htdocs/comm/card.php +++ b/htdocs/comm/card.php @@ -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';