Commit 953b4e2f authored by BenC's avatar BenC
Browse files

Merci Nayolo :p

parent 784ee1dc
......@@ -97,8 +97,8 @@ if ( $_REQUEST["action"] == "view" )
"INNER JOIN cpt_mise_en_vente ON `cpt_mise_en_vente`.`id_produit`=`cpt_produits`.`id_produit` " .
"INNER JOIN `cpt_debitfacture` ON `cpt_debitfacture`.`id_facture` =`cpt_vendu`.`id_facture` " .
"WHERE " .implode(" AND ",$conds).
"GROUP BY `cpt_produits`.`id_produit`");
//"ORDER BY `ventes` DESC");
"GROUP BY `cpt_produits`.`id_produit` " .
"ORDER BY `ventes` DESC");
$tbl = new sqltable("products",
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment