From 7cce446aa35d4210dc1bccdda4bc8f6e7778e95e Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Sun, 3 Aug 2003 13:24:37 +0000 Subject: [PATCH] ajout percent dans fetch --- htdocs/actioncomm.class.php3 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/htdocs/actioncomm.class.php3 b/htdocs/actioncomm.class.php3 index bb4b5fb5e4e..8732287fe36 100644 --- a/htdocs/actioncomm.class.php3 +++ b/htdocs/actioncomm.class.php3 @@ -75,7 +75,7 @@ class ActionComm */ Function fetch($id) { - $sql = "SELECT ".$this->db->pdate("a.datea")." as da, a.note, c.libelle, fk_soc, fk_user_author, fk_contact, fk_facture "; + $sql = "SELECT ".$this->db->pdate("a.datea")." as da, a.note, c.libelle, fk_soc, fk_user_author, fk_contact, fk_facture, a.percent "; $sql .= "FROM llx_actioncomm as a, c_actioncomm as c WHERE a.id=$id AND a.fk_action=c.id;"; if ($this->db->query($sql) ) @@ -88,6 +88,7 @@ class ActionComm $this->type = $obj->libelle; $this->date = $obj->da; $this->note =$obj->note; + $this->percent =$obj->percent; $this->societe->id = $obj->fk_soc;