From e9e875a09932d313abddd93a971c61a43f24bf79 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Thu, 27 Nov 2003 12:58:45 +0000 Subject: [PATCH] =?UTF-8?q?Modif=20pr=E9sentation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/commande/index.php | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/htdocs/commande/index.php b/htdocs/commande/index.php index 2c1f85a12a7..feaabdc7e32 100644 --- a/htdocs/commande/index.php +++ b/htdocs/commande/index.php @@ -22,7 +22,7 @@ require("./pre.inc.php"); -llxHeader(); +llxHeader("", 'Commandes','ch-commande.html'); print_titre("Commandes"); @@ -71,13 +71,9 @@ if ( $db->query($sql) ) print "
"; } } -/* - * - */ -print ''; /* - * Dernières commandes + * Commandes à traiter */ $sql = "SELECT c.rowid, c.ref, s.nom, s.idp FROM llx_commande as c, llx_societe as s"; $sql .= " WHERE c.fk_soc = s.idp AND c.fk_statut = 1"; @@ -108,8 +104,14 @@ if ( $db->query($sql) ) print "
"; } } + /* - * Dernières commandes + * + */ +print ''; + +/* + * */ $sql = "SELECT c.rowid, c.ref, s.nom, s.idp FROM llx_commande as c, llx_societe as s"; $sql .= " WHERE c.fk_soc = s.idp AND c.fk_statut = 2 "; @@ -118,7 +120,6 @@ if ($socidp) $sql .= " AND c.fk_soc = $socidp"; } $sql .= " ORDER BY c.rowid DESC"; -$sql .= $db->plimit(5, 0); if ( $db->query($sql) ) { $num = $db->num_rows(); @@ -127,7 +128,7 @@ if ( $db->query($sql) ) $i = 0; print ''; print ''; - print ''; + print ''; while ($i < $num) {
5 dernières commandes
Commandes en traitement