dolibarr-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dolibarr-cvs] dolibarr/htdocs facture.class.php


From: Regis Houssin
Subject: [Dolibarr-cvs] dolibarr/htdocs facture.class.php
Date: Wed, 07 Jun 2006 13:40:30 +0000

CVSROOT:        /cvsroot/dolibarr
Module name:    dolibarr
Changes by:     Regis Houssin <hregis>  06/06/07 13:40:30

Modified files:
        htdocs         : facture.class.php 

Log message:
        Récupération du contact facture

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/dolibarr/htdocs/facture.class.php?cvsroot=dolibarr&r1=1.176&r2=1.177

Patches:
Index: facture.class.php
===================================================================
RCS file: /cvsroot/dolibarr/dolibarr/htdocs/facture.class.php,v
retrieving revision 1.176
retrieving revision 1.177
diff -u -b -r1.176 -r1.177
--- facture.class.php   3 Jun 2006 12:38:57 -0000       1.176
+++ facture.class.php   7 Jun 2006 13:40:30 -0000       1.177
@@ -20,7 +20,7 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  *
- * $Id: facture.class.php,v 1.176 2006/06/03 12:38:57 eldy Exp $
+ * $Id: facture.class.php,v 1.177 2006/06/07 13:40:30 hregis Exp $
  * $Source: /cvsroot/dolibarr/dolibarr/htdocs/facture.class.php,v $
  */
 
@@ -28,7 +28,7 @@
         \file       htdocs/facture.class.php
         \ingroup    facture
         \brief      Fichier de la classe des factures clients
-        \version    $Revision: 1.176 $
+        \version    $Revision: 1.177 $
 */
 
 require_once(DOL_DOCUMENT_ROOT .'/notify.class.php');
@@ -423,6 +423,19 @@
                $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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]