Commit ce19b0f3 authored by Bate's avatar Bate

Stats barmans

parent d0cf7033
...@@ -728,7 +728,7 @@ elseif ( ($site->user->is_in_group ("gestion_ae") || $site->user->is_asso_role ( ...@@ -728,7 +728,7 @@ elseif ( ($site->user->is_in_group ("gestion_ae") || $site->user->is_asso_role (
WHERE mode_paiement = 'AE' WHERE mode_paiement = 'AE'
AND cpt_debitfacture.date_facture > '$debut_semestre' AND cpt_debitfacture.date_facture > '$debut_semestre'
GROUP BY utilisateurs.id_utilisateur GROUP BY utilisateurs.id_utilisateur
ORDER BY somme DESC LIMIT 30"); ORDER BY total DESC LIMIT 30");
$cts->add(new sqltable( $cts->add(new sqltable(
"barmens", "barmens",
...@@ -773,7 +773,7 @@ elseif ( ($site->user->is_in_group ("gestion_ae") || $site->user->is_asso_role ( ...@@ -773,7 +773,7 @@ elseif ( ($site->user->is_in_group ("gestion_ae") || $site->user->is_asso_role (
JOIN utl_etu_utbm ON cpt_debitfacture.id_utilisateur = utl_etu_utbm.id_utilisateur JOIN utl_etu_utbm ON cpt_debitfacture.id_utilisateur = utl_etu_utbm.id_utilisateur
WHERE mode_paiement = 'AE' WHERE mode_paiement = 'AE'
GROUP BY utilisateurs.id_utilisateur GROUP BY utilisateurs.id_utilisateur
ORDER BY somme DESC LIMIT 30"); ORDER BY total DESC LIMIT 30");
$cts->add(new sqltable( $cts->add(new sqltable(
"barmens", "barmens",
......
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