This commit is contained in:
Rodolphe Quiedeville 2007-07-03 14:41:39 +00:00
parent 46d340c84d
commit a57b478221

View File

@ -100,16 +100,14 @@ class CommunicationTelephonique {
else
{
/* Fin Numéros spéciaux */
if (! $tarif_achat->cout($num, $this->cout_temp_achat, $this->cout_fixe_achat, $tarif_libelle_achat))
if ($tarif_achat->cout($num, $this->cout_temp_achat, $this->cout_fixe_achat, $tarif_libelle_achat) == 0)
{
print "3- Tarif achat manquant pour $num\n";
dolibarr_syslog("CommunicationTelephonique::Cout Tarif achat manquant pour $num");
$error++;
//$error++;
}
if (! $tarif_vente->cout($num, $this->cout_temp_vente, $this->cout_fixe_vente, $this->tarif_libelle_vente))
if ($tarif_vente->cout($num, $this->cout_temp_vente, $this->cout_fixe_vente, $this->tarif_libelle_vente) == 0)
{
print "3- Tarif vente manquant pour $num\n";
dolibarr_syslog("CommunicationTelephonique::Cout Tarif vente manquant pour $num");
$error++;
}