renaming of columns impact db access
This commit is contained in:
parent
446b574de5
commit
3f5ffc5e9d
1 changed files with 1 additions and 1 deletions
|
|
@ -2501,7 +2501,7 @@ class CommandeFournisseur extends CommonOrder
|
|||
$sql .= " FROM ".$this->db->prefix()."product as p,";
|
||||
$sql .= " ".$this->db->prefix()."receptiondet_batch as cfd";
|
||||
$sql .= " LEFT JOIN ".$this->db->prefix()."entrepot as e ON cfd.fk_entrepot = e.rowid";
|
||||
$sql .= " WHERE cfd.fk_commande = ".((int) $this->id);
|
||||
$sql .= " WHERE cfd.fk_element = ".((int) $this->id);
|
||||
$sql .= " AND cfd.fk_product = p.rowid";
|
||||
if ($status >= 0) {
|
||||
$sql .= " AND cfd.status = ".((int) $status);
|
||||
|
|
|
|||
Loading…
Reference in a new issue