Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Antoine
ae2
Commits
553ec73c
Commit
553ec73c
authored
Jul 16, 2013
by
Bate
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Stats utilisateur
parent
5b526262
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
user.php
user.php
+1
-1
No files found.
user.php
View file @
553ec73c
...
@@ -1237,7 +1237,7 @@ elseif ( ($_REQUEST["view"]=="stats") && $user->etudiant &&
...
@@ -1237,7 +1237,7 @@ elseif ( ($_REQUEST["view"]=="stats") && $user->etudiant &&
JOIN cpt_debitfacture ON cpt_debitfacture.id_facture = cpt_vendu.id_facture
JOIN cpt_debitfacture ON cpt_debitfacture.id_facture = cpt_vendu.id_facture
WHERE cpt_debitfacture.id_utilisateur_client =
$user->id
WHERE cpt_debitfacture.id_utilisateur_client =
$user->id
AND (cpt_produits.id_typeprod < 10 OR cpt_produits.id_typeprod = 27)
AND (cpt_produits.id_typeprod < 10 OR cpt_produits.id_typeprod = 27)
GROUP BY id ORDER BY nombre DESC"
);
GROUP BY id ORDER BY nombre DESC
LIMIT 10
"
);
$cts
->
add
(
new
sqltable
(
$cts
->
add
(
new
sqltable
(
"topconso"
,
"topconso"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment