From 00e35391fd7f5a8b298d9dd7c6ff6e61610d3417 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Thu, 31 Mar 2005 15:02:05 +0000 Subject: [PATCH] =?UTF-8?q?Ajout=20du=20num=E9ro=20de=20facture=20associ?= =?UTF-8?q?=E9e=20lors=20du=20fetch?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/telephonie/facturetel.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/htdocs/telephonie/facturetel.class.php b/htdocs/telephonie/facturetel.class.php index 7b00ae5261e..1497168ce68 100644 --- a/htdocs/telephonie/facturetel.class.php +++ b/htdocs/telephonie/facturetel.class.php @@ -37,7 +37,7 @@ class FactureTel { */ function fetch($id) { - $sql = "SELECT rowid, ligne, date, cout_vente, cout_vente_remise"; + $sql = "SELECT rowid, ligne, date, cout_vente, cout_vente_remise, fk_facture"; $sql .= " FROM ".MAIN_DB_PREFIX."telephonie_facture as tf"; $sql .= " WHERE tf.rowid = ".$id; @@ -53,6 +53,7 @@ class FactureTel { $this->ligne = $obj->ligne; $this->cout_vente = $obj->cout_vente; $this->cout_vente_remise = $obj->cout_vente_remise; + $this->fk_facture = $obj->fk_facture; $result = 0; }