Browse Source

correction sur les classes de découvertes

Celine.meneu 15 years ago
parent
commit
24ba0a03b0

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

@@ -53,7 +53,7 @@ namespace CG67.FicheCollege.Entrepot
                         { // modif le 14/04/2010 - modification pour l'année en cours => année civile
                             //command.CommandText = "Select ANNEE, ZONE, Sum(TO_NUMBER(NB_ELEVE)) as NBELEVES, Sum(MT_VOTE) AS SUBVENTION from ASTRE.W67_SIC_FICHE_ELU WHERE ANNEE = '" + annee + "' AND COD_TIERS = '" + codeAstre + "' GROUP BY ZONE, ANNEE ORDER BY ZONE ";
                             command.CommandText = "Select ANNEE, ZONE, Sum(TO_NUMBER(NB_ELEVE)) as NBELEVES, Sum(MT_VOTE) AS SUBVENTION from ASTRE.W67_SIC_FICHE_ELU WHERE ANNEE = :ANNEE AND COD_TIERS = :COD_ASTRE GROUP BY ZONE, ANNEE ORDER BY ZONE ";
-                            command.Parameters.AddWithValue(":ANNEE", System.DateTime.Now.Year);
+                            command.Parameters.AddWithValue(":ANNEE", annee);
                             command.Parameters.AddWithValue(":COD_ASTRE", codeAstre);
                             using (OracleDataReader ds = command.ExecuteReader())
                             {

+ 2 - 1
CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/css/fichecollege.css

@@ -22,6 +22,7 @@ body
 {
 	width:350px;	
 }
+
 .infoAction
 {
 	width:250px;	
@@ -254,7 +255,7 @@ td
 
 .Montant_Subvention
 {
-	width:150px;
+	width:125px;
 	text-align: right;
 }