Commit 71aedf66 authored by Ayolo's avatar Ayolo
Browse files

fix?

parent f807c524
...@@ -97,8 +97,8 @@ if ( $_REQUEST["action"] == "view" ) ...@@ -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_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` " . "INNER JOIN `cpt_debitfacture` ON `cpt_debitfacture`.`id_facture` =`cpt_vendu`.`id_facture` " .
"WHERE " .implode(" AND ",$conds). "WHERE " .implode(" AND ",$conds).
"GROUP BY `cpt_produits`.`id_produit` AND ". "GROUP BY `cpt_produits`.`id_produit` AND ");
"ORDER BY `ventes` DESC"); //"ORDER BY `ventes` DESC");
$tbl = new sqltable("products", $tbl = new sqltable("products",
"Produits", "Produits",
......
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