From c37521eea22c1796b7ab0959fbb3f50527640a0d Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Mon, 19 Jun 2006 16:59:29 +0000 Subject: [PATCH] =?UTF-8?q?ajout=20de=20la=20fonction=20fetch=5Fcontact=20?= =?UTF-8?q?pour=20r=E9cup=E9rer=20le=20d=E9tail=20d'un=20contact=20propal,?= =?UTF-8?q?=20commande,=20=20facture...?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/commande/commande.class.php | 14 +------------- htdocs/facture.class.php | 13 ------------- 2 files changed, 1 insertion(+), 26 deletions(-) diff --git a/htdocs/commande/commande.class.php b/htdocs/commande/commande.class.php index 5c61583636e..b913b393ca1 100644 --- a/htdocs/commande/commande.class.php +++ b/htdocs/commande/commande.class.php @@ -935,19 +935,7 @@ class Commande extends CommonObject $adresse->fetch_adresse_livraison($idadresse); $this->adresse = $adresse; } - - /** - * - * - */ - - function fetch_contact_commande($id) - { - $idcontact = $id; - $contact = new Contact($this->db); - $contact->fetch($idcontact); - $this->contact = $contact; - } + /** * \brief Renvoie un tableau avec les expéditions par ligne diff --git a/htdocs/facture.class.php b/htdocs/facture.class.php index 742f55ebe34..9cbce81612f 100644 --- a/htdocs/facture.class.php +++ b/htdocs/facture.class.php @@ -476,19 +476,6 @@ class Facture extends CommonObject $this->client = $client; } - /** - * - * - */ - - function fetch_contact_facture($id) - { - $idcontact = $id; - $contact = new Contact($this->db); - $contact->fetch($idcontact); - $this->contact = $contact; - } - /** * \brief Classe la facture dans un projet