Ajout infos
This commit is contained in:
parent
f613b4062a
commit
87e3a84530
@ -45,6 +45,9 @@ class DistributeurTelephonie {
|
|||||||
$this->id = $id;
|
$this->id = $id;
|
||||||
|
|
||||||
$sql = "SELECT d.rowid, d.nom";
|
$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 .= " FROM ".MAIN_DB_PREFIX."telephonie_distributeur as d";
|
||||||
$sql .= " WHERE d.rowid = ".$this->id;
|
$sql .= " WHERE d.rowid = ".$this->id;
|
||||||
|
|
||||||
@ -55,6 +58,10 @@ class DistributeurTelephonie {
|
|||||||
$obj = $this->db->fetch_object(0);
|
$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;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user