From 85bf8d96c353f68ab61723301e2296b355bc7c63 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Wed, 7 Jun 2006 13:40:30 +0000 Subject: [PATCH] =?UTF-8?q?R=E9cup=E9ration=20du=20contact=20facture?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/facture.class.php | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/htdocs/facture.class.php b/htdocs/facture.class.php index 682fa8deb35..b75dac978e3 100644 --- a/htdocs/facture.class.php +++ b/htdocs/facture.class.php @@ -412,7 +412,7 @@ class Facture } } - /** + /** * \brief Recupére l'objet client lié à la facture * */ @@ -422,6 +422,19 @@ class Facture $client->fetch($this->socidp); $this->client = $client; } + + /** + * + * + */ + + function fetch_contact_facture($id) + { + $idcontact = $id; + $contact = new Contact($this->db); + $contact->fetch($idcontact); + $this->contact = $contact; + } /**