From 6fc2a6165ecca26618c59ba4223c716dfaf8c3de Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Thu, 8 Jun 2006 16:13:45 +0000 Subject: [PATCH] =?UTF-8?q?ajout=20fonction=20pour=20r=E9cup=E9rer=20les?= =?UTF-8?q?=20coordonn=E9es=20de=20l'adresse=20de=20livraison?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/livraison/livraison.class.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/htdocs/livraison/livraison.class.php b/htdocs/livraison/livraison.class.php index 4e7785c9e52..399b62c6237 100644 --- a/htdocs/livraison/livraison.class.php +++ b/htdocs/livraison/livraison.class.php @@ -571,6 +571,19 @@ class Livraison $this->commande =& new Commande($this->db); $this->commande->fetch($this->commande_id); } + + /** + * + * + */ + + function fetch_adresse_livraison($id) + { + $idadresse = $id; + $adresse = new Societe($this->db); + $adresse->fetch_adresse_livraison($idadresse); + $this->adresse = $adresse; + } function fetch_lignes()