Ajout la mise jour des contrats

This commit is contained in:
Rodolphe Quiedeville 2005-06-08 13:49:59 +00:00
parent 5535b8244b
commit 8f15845537

View File

@ -383,7 +383,6 @@ class LigneTel {
$this->db->query($sql);
if ($statut == 2)
{
$sql = "UPDATE ".MAIN_DB_PREFIX."telephonie_societe_ligne";
@ -479,6 +478,17 @@ class LigneTel {
$this->log_clients();
/* Mise à jour du contrat associé */
if ($this->contrat > 0)
{
$contrat = new TelephonieContrat($this->db);
$contrat->id = $this->contrat;
$contrat->update_statut();
}
return 0;
}
/*