Ajoute le numro de facture
This commit is contained in:
parent
a2c4dfd4a1
commit
ef3ce4e45e
@ -193,7 +193,7 @@ class CommunicationTelephonique {
|
|||||||
$sql .= " (ligne, date, numero, duree";
|
$sql .= " (ligne, date, numero, duree";
|
||||||
$sql .= ", tarif_achat_temp, tarif_achat_fixe, tarif_vente_temp, tarif_vente_fixe";
|
$sql .= ", tarif_achat_temp, tarif_achat_fixe, tarif_vente_temp, tarif_vente_fixe";
|
||||||
$sql .= ", cout_achat, cout_vente, remise,dest, fourn_montant";
|
$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 .= " VALUES (";
|
||||||
$sql .= "'$this->ligne','".$db->idate($this->dateheure)."','$this->numero','$this->duree'";
|
$sql .= "'$this->ligne','".$db->idate($this->dateheure)."','$this->numero','$this->duree'";
|
||||||
@ -207,6 +207,7 @@ class CommunicationTelephonique {
|
|||||||
if (! $db->query($sql))
|
if (! $db->query($sql))
|
||||||
{
|
{
|
||||||
dolibarr_syslog("CommunicationTelephonique::logsql Erreur");
|
dolibarr_syslog("CommunicationTelephonique::logsql Erreur");
|
||||||
|
dolibarr_syslog("CommunicationTelephonique::logsql ".$db->error());
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user