From 57325d29ec648fbc5691450fb507ee096485fecd Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Tue, 9 May 2006 18:50:40 +0000 Subject: [PATCH] =?UTF-8?q?r=E9cup=E9ration=20de=20l'adresse=20de=20livrai?= =?UTF-8?q?son=20et=20du=20contact=20d'une=20commande?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/commande/commande.class.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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;