From 987b034e14604b0739c4b71d5ca4c95706e8b3a9 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Thu, 15 Dec 2005 10:06:40 +0000 Subject: [PATCH] Bugfix --- htdocs/telephonie/telephonie.contrat.class.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/htdocs/telephonie/telephonie.contrat.class.php b/htdocs/telephonie/telephonie.contrat.class.php index 6727af3e55a..b75e8bcce7d 100644 --- a/htdocs/telephonie/telephonie.contrat.class.php +++ b/htdocs/telephonie/telephonie.contrat.class.php @@ -49,6 +49,8 @@ class TelephonieContrat { */ function create($user, $isfacturable='oui', $mode_paiement='pre') { + $this->mode_paiement = $mode_paiement; + $sql = "INSERT INTO ".MAIN_DB_PREFIX."telephonie_contrat"; $sql .= " (ref, fk_soc, fk_client_comm, fk_soc_facture, note"; $sql .= " , fk_commercial_sign, fk_commercial_suiv, fk_user_creat, date_creat)";