Skip to content
Snippets Groups Projects
Commit dd28e95f authored by Rodolphe Quiedeville's avatar Rodolphe Quiedeville
Browse files

Ajout infos de prix dans le fetch

parent 17156425
No related branches found
No related tags found
No related merge requests found
......@@ -160,7 +160,7 @@ class LigneAdsl {
function fetch($ligne, $id = 0)
{
$sql = "SELECT l.rowid, l.fk_client, l.fk_client_install, l.fk_client_facture, l.fk_fournisseur, l.numero_ligne, l.note, l.statut, l.fk_commercial";
$sql .= ", l.ip, l.login, l.password";
$sql .= ", l.ip, l.login, l.password, l.prix";
$sql .= " , t.intitule AS type";
$sql .= " FROM ".MAIN_DB_PREFIX."telephonie_adsl_ligne as l";
$sql .= " , ".MAIN_DB_PREFIX."telephonie_adsl_type as t";
......@@ -191,6 +191,7 @@ class LigneAdsl {
$this->fournisseur_id = $obj->fk_fournisseur;
$this->commercial_id = $obj->fk_commercial;
$this->type = $obj->type;
$this->prix = $obj->prix;
$this->statut = $obj->statut;
$this->ip = $obj->ip;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment