From 2c96c8aaa2f417da6f8408af974be7e6be5e0e75 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Sun, 3 Aug 2003 13:06:29 +0000 Subject: [PATCH] =?UTF-8?q?Gestion=20des=20actions=20=E0=20faire?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/comm/index.php3 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/htdocs/comm/index.php3 b/htdocs/comm/index.php3 index 4cdb6041151..f1adf646ecf 100644 --- a/htdocs/comm/index.php3 +++ b/htdocs/comm/index.php3 @@ -132,14 +132,13 @@ if ( $db->query($sql) ) */ print ''; -$sql = "SELECT a.id, ".$db->pdate("a.datea")." as da, c.libelle, a.fk_user_author, a.fk_contact, p.name, s.nom as sname"; -$sql .= " FROM llx_actioncomm as a, c_actioncomm as c, llx_socpeople as p, llx_societe as s"; -$sql .= " WHERE c.id=a.fk_action AND a.percent < 100 AND a.fk_user_action = $user->id AND a.fk_contact = p.idp AND p.fk_soc = s.idp"; +$sql = "SELECT a.id, ".$db->pdate("a.datea")." as da, c.libelle, a.fk_user_author, s.nom as sname, s.idp"; +$sql .= " FROM llx_actioncomm as a, c_actioncomm as c, llx_societe as s"; +$sql .= " WHERE c.id=a.fk_action AND a.percent < 100 AND s.idp = a.fk_soc AND a.fk_user_action = $user->id"; $sql .= " ORDER BY a.datea DESC"; if ( $db->query($sql) ) { - print ''; print ''; print ''; @@ -152,7 +151,8 @@ if ( $db->query($sql) ) $var=!$var; print ""; - print ""; + print ""; + print ''; $i++; } $db->free();
Actions à faire
".strftime("%d %b %Y",$obj->da)."id\">$obj->libelle $obj->label$obj->name$obj->sname
id\">$obj->libelle $obj->label'.$obj->sname.'