diff --git a/htdocs/commande/commande.class.php b/htdocs/commande/commande.class.php index 6544cb87f85..94f2d256906 100644 --- a/htdocs/commande/commande.class.php +++ b/htdocs/commande/commande.class.php @@ -832,6 +832,18 @@ class Commande * */ + function fetch_client() + { + $client = new Societe($this->db); + $client->fetch($this->socidp); + $this->client = $client; + } + + /** + * + * + */ + function fetch_adresse_livraison($id) { $idadresse = $id;