From 471f4761e0fdfe983a8acbea97509c22dbc8010a Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Thu, 27 Nov 2003 10:57:24 +0000 Subject: [PATCH] Ajout filtre pour virer les services --- htdocs/expedition/commande.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/expedition/commande.php b/htdocs/expedition/commande.php index e9ef5484cd9..b61b0a31446 100644 --- a/htdocs/expedition/commande.php +++ b/htdocs/expedition/commande.php @@ -125,7 +125,7 @@ if ($_GET["id"] > 0) echo ''; $sql = "SELECT l.fk_product, l.description, l.price, l.qty, l.rowid, l.tva_tx, l.remise_percent, l.subprice"; - $sql .= " FROM llx_commandedet as l WHERE l.fk_commande = ".$commande->id." ORDER BY l.rowid"; + $sql .= " FROM llx_commandedet as l LEFT JOIN llx_product as p ON (p.rowid = l.fk_product) WHERE l.fk_commande = ".$commande->id." AND p.fk_product_type <> 1 ORDER BY l.rowid"; $result = $db->query($sql); if ($result)