Commit 78087d3cc05826e773b8018649a1c1a2461e2297

Authored by wilmer
1 parent dc15f7b677
Exists in master

arreglado la cantidad de jurado a la hora de agregar los faltantes si es que les…

… falto al docente al solicitar ascenso
app/Resources/views/cea/ascenso_mostar.html.twig
@@ -66,10 +66,11 @@ @@ -66,10 +66,11 @@
66 {% set añadirJurado = true %} 66 {% set añadirJurado = true %}
67 {% set cantidadJurado = 6 %} 67 {% set cantidadJurado = 6 %}
68 {% for tutor in ascenso.tutoresAscenso %} 68 {% for tutor in ascenso.tutoresAscenso %}
69 - {% if loop.length >= 5 %} 69 + {{ loop.length }}
  70 + {% if loop.length == 6 %}
70 {% set añadirJurado = false %} 71 {% set añadirJurado = false %}
71 {% else %} 72 {% else %}
72 - {% set cantidadJurado = cantidadJurado - loop.index %} 73 + {% set cantidadJurado = cantidadJurado - 1 %}
73 {% endif %} 74 {% endif %}
74 <p class="well"> 75 <p class="well">
75 76