Commit 407484ef authored by Feu's avatar Feu
Browse files

soyons plus light

parent a8bb7467
...@@ -259,7 +259,7 @@ $req1 = new requete($site->db, ...@@ -259,7 +259,7 @@ $req1 = new requete($site->db,
"`cpt_debitfacture`.`id_facture` =`cpt_vendu`.`id_facture` " . "`cpt_debitfacture`.`id_facture` =`cpt_vendu`.`id_facture` " .
"WHERE mode_paiement = 'SG' " . "WHERE mode_paiement = 'SG' " .
"AND `cpt_debitfacture`.`id_comptoir` = '3' ". "AND `cpt_debitfacture`.`id_comptoir` = '3' ".
"AND `utilisateurs`.`id_utilisateur` = '".mysql_real_escape_string($user->id) ."' ". "AND `cpt_debitfacture`.`id_utilisateur_client` = '".mysql_real_escape_string($user->id) ."' ".
"GROUP BY `cpt_debitfacture`.`id_facture` ". "GROUP BY `cpt_debitfacture`.`id_facture` ".
"ORDER BY `cpt_debitfacture`.`date_facture` DESC"); "ORDER BY `cpt_debitfacture`.`date_facture` DESC");
......
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