Ajout infos

This commit is contained in:
Rodolphe Quiedeville 2005-06-13 15:30:29 +00:00
parent f613b4062a
commit 87e3a84530

View File

@ -45,6 +45,9 @@ class DistributeurTelephonie {
$this->id = $id;
$sql = "SELECT d.rowid, d.nom";
$sql .= " , d.remun_avance";
$sql .= " , d.remun_pourcent_prev, d.remun_pourcent_autr";
$sql .= " FROM ".MAIN_DB_PREFIX."telephonie_distributeur as d";
$sql .= " WHERE d.rowid = ".$this->id;
@ -54,7 +57,11 @@ class DistributeurTelephonie {
{
$obj = $this->db->fetch_object(0);
$this->nom = stripslashes($obj->nom);
$this->nom = stripslashes($obj->nom);
$this->remun_avance = $obj->remun_avance;
$this->remun_pourcent_prev = $obj->remun_pourcent_prev;
$this->remun_pourcent_autr = $obj->remun_pourcent_autr;
return 0;
}