From 8ce0271ebd49d29b97d8a6ef4251f6f12f77ba2e Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Sat, 21 Jun 2003 15:22:27 +0000 Subject: [PATCH] =?UTF-8?q?Initialise=20=E0=20z=E9ro=20this->projetid?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/facture.class.php3 | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/htdocs/facture.class.php3 b/htdocs/facture.class.php3 index 26f97469062..7b157d356a0 100644 --- a/htdocs/facture.class.php3 +++ b/htdocs/facture.class.php3 @@ -47,17 +47,19 @@ class Facture { * */ - Function Facture($DB, $soc_idp="", $facid="") { - $this->db = $DB ; - $this->socidp = $soc_idp; - $this->products = array(); - $this->db_table = "llx_facture"; - $this->amount = 0; - $this->remise = 0; - $this->tva = 0; - $this->total = 0; - $this->propalid = 0; - $this->id = $facid; + Function Facture($DB, $soc_idp="", $facid="") + { + $this->db = $DB ; + $this->socidp = $soc_idp; + $this->products = array(); + $this->db_table = "llx_facture"; + $this->amount = 0; + $this->remise = 0; + $this->tva = 0; + $this->total = 0; + $this->propalid = 0; + $this->projetid = 0; + $this->id = $facid; } /* *