From 38645382b030f0dac104ab1dc7da053ae7e0a027 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 17 Jun 2006 14:37:12 +0000 Subject: [PATCH] Fix: Les lignes doivent s'afficher selon ordre du rang --- htdocs/compta/commande/fiche.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/htdocs/compta/commande/fiche.php b/htdocs/compta/commande/fiche.php index 83a64d31c5f..d5c50646b6c 100644 --- a/htdocs/compta/commande/fiche.php +++ b/htdocs/compta/commande/fiche.php @@ -1,6 +1,6 @@ - * Copyright (C) 2004-2005 Laurent Destailleur + * Copyright (C) 2004-2006 Laurent Destailleur * Copyright (C) 2005-2006 Regis Houssin * * This program is free software; you can redistribute it and/or modify @@ -178,7 +178,7 @@ if ($_GET["id"] > 0) } print ''; print ''.$langs->trans('NotePublic').' :
'; - print nl2br($commande->note_public); + print nl2br($commande->note_public); print ''; print ''; @@ -291,7 +291,7 @@ if ($_GET["id"] > 0) $sql.= ' FROM '.MAIN_DB_PREFIX."commandedet as l"; $sql.= ' LEFT JOIN '.MAIN_DB_PREFIX.'product as p ON l.fk_product=p.rowid'; $sql.= " WHERE l.fk_commande = ".$commande->id; - $sql.= " ORDER BY l.rowid"; + $sql.= " ORDER BY l.rang"; $resql = $db->query($sql); if ($resql)