Source

gestiona / src / cuenta_php_files / configura.php

Diff from to

src/cuenta_php_files/configura.php

 <input name="id" type="hidden" value="1">
 <select name="anio">
 ';
-  option("SELECT distinct periodo,periodo FROM matriculas ORDER BY periodo DESC",$_SESSION["anio"]);
+  option("SELECT DISTINCT date_part('year',fechaini),date_part('year',fechaini) FROM periodoscontables ORDER BY 1 DESC",$_SESSION["anio"]);
   print '
 </select>
 <input type="submit" value="Cambiar año">