From ab33cd69dc184de3dfde54ea6229dc946e2660d1 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Thu, 9 Feb 2006 13:10:18 +0000 Subject: [PATCH] =?UTF-8?q?Ajout=20onglet=20aper=E7u=20sur=20la=20fiche=20?= =?UTF-8?q?commande=20client?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/commande/apercu.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/htdocs/commande/apercu.php b/htdocs/commande/apercu.php index 5867ac53566..1d6b6559017 100644 --- a/htdocs/commande/apercu.php +++ b/htdocs/commande/apercu.php @@ -120,6 +120,7 @@ if ($_GET["id"] > 0) { /* * Commande */ +/* $sql = 'SELECT s.nom, s.idp, c.amount_ht, c.fk_projet, c.remise, c.tva, c.total_ttc, c.ref, c.fk_statut, '.$db->pdate('c.date_commande').' as dp, c.note,'; $sql.= ' x.firstname, x.name, x.fax, x.phone, x.email, c.fk_user_author, c.fk_user_valid, c.fk_user_cloture, c.date_creation, c.date_valid, c.date_cloture'; $sql.= ' FROM '.MAIN_DB_PREFIX.'societe as s, '.MAIN_DB_PREFIX.'commande as c, '.MAIN_DB_PREFIX.'socpeople as x'; @@ -134,7 +135,7 @@ if ($_GET["id"] > 0) { if ($result) { if ($db->num_rows($result)) { $obj = $db->fetch_object($result); - +*/ $societe = new Societe($db); $societe->fetch($obj->idp); @@ -288,10 +289,10 @@ if ($_GET["id"] > 0) { print ''.price($commande->price).''; print ''.$langs->trans("Currency".$conf->monnaie).''; print ''; - } +/* } } else { dolibarr_print_error($db); - } +*/ } } else { // Commande non trouvée print $langs->trans("ErrorPropalNotFound",$_GET["id"]);