From ef3ce4e45ec0de5ce924717ac4f96acc818aca1d Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Thu, 10 Mar 2005 11:27:17 +0000 Subject: [PATCH] =?UTF-8?q?Ajoute=20le=20num=E9ro=20de=20facture?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/telephonie/communication.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/htdocs/telephonie/communication.class.php b/htdocs/telephonie/communication.class.php index d6ba3de324d..6559319d226 100644 --- a/htdocs/telephonie/communication.class.php +++ b/htdocs/telephonie/communication.class.php @@ -193,7 +193,7 @@ class CommunicationTelephonique { $sql .= " (ligne, date, numero, duree"; $sql .= ", tarif_achat_temp, tarif_achat_fixe, tarif_vente_temp, tarif_vente_fixe"; $sql .= ", cout_achat, cout_vente, remise,dest, fourn_montant"; - $sql .= " , fichier_cdr, fk_fournisseur, fk_facture)"; + $sql .= " , fichier_cdr, fk_fournisseur, fk_telephonie_facture)"; $sql .= " VALUES ("; $sql .= "'$this->ligne','".$db->idate($this->dateheure)."','$this->numero','$this->duree'"; @@ -207,6 +207,7 @@ class CommunicationTelephonique { if (! $db->query($sql)) { dolibarr_syslog("CommunicationTelephonique::logsql Erreur"); + dolibarr_syslog("CommunicationTelephonique::logsql ".$db->error()); return 1; } else