Celine.meneu 16 年 前
コミット
8008a7ee60

+ 2 - 2
CG67.FicheCollege.root/CG67.FicheCollege/Core/CG67.FicheCollege.Entrepot/EntrepotClasseDecouverte.cs

@@ -51,10 +51,10 @@ namespace CG67.FicheCollege.Entrepot
                         connexion.Open();
                         using (OracleCommand command = connexion.CreateCommand())
                         {
-                            command.CommandText = "Select ZONE, ANNEE, Sum(TO_NUMBER(NB_ELEVE)) as NBELEVES, Sum(MT_VOTE) AS SUBVENTION from ASTRE.W67_SIC_FICHE_ELU WHERE ANNEE = + char(39) +  @ANNEE + char(39) +  GROUP BY ZONE, ANNEE ORDER BY ZONE" ;
+                            command.CommandText = "Select ZONE, ANNEE, Sum(TO_NUMBER(NB_ELEVE)) as NBELEVES, Sum(MT_VOTE) AS SUBVENTION from ASTRE.W67_SIC_FICHE_ELU WHERE ANNEE = '2009' GROUP BY ZONE, ANNEE ORDER BY ZONE" ;
                           //  WHERE COD_TIERS = @RNE AND ANNEE = @ANNEE";
                              // command.Parameters.AddWithValue("@RNE", codeAstre);
-                             command.Parameters.AddWithValue("@ANNEE", annee.ToString());
+                           //  command.Parameters.AddWithValue("@ANNEE", annee.ToString());
                             using (OracleDataReader ds = command.ExecuteReader())
                             {
 

+ 3 - 3
CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/xslt/FicheCollege.xslt

@@ -557,9 +557,9 @@
               <col class="Montant_Subvention"></col>
             </colgroup>
 
-            <th class="bordure">ZONE</th>
-            <th class="bordure">Nombre d'élèves</th>
-            <th class="bordure">Montant subvention</th>
+            <th class="bordurecentre">ZONE</th>
+            <th class="bordurecentre">Nombre d'élèves</th>
+            <th class="bordurecentre">Montant subvention</th>
 
               <xsl:for-each select="Etablissement/LstClasseDecouverte/ClasseDecouverte">
                 <tr>