Commit 36e37ec1efd9dca1a14858548c3c13e52f6fe4f5
1 parent
1555ef6837
Exists in
master
modifica que solo aparezcan los principales en el acta de defensa
Showing
2 changed files
with
12 additions
and
6 deletions
Show diff stats
app/Resources/views/memorando/acta_defensa.html.twig
@@ -6,11 +6,13 @@ | @@ -6,11 +6,13 @@ | ||
6 | <th>Cédula Identidad</th> | 6 | <th>Cédula Identidad</th> |
7 | <th>Categoría</th> | 7 | <th>Categoría</th> |
8 | {% for jurado in jurados %} | 8 | {% for jurado in jurados %} |
9 | - <tr> | ||
10 | - <td>{{ jurado.idTutor.nombres }}</td> | ||
11 | - <td>{{ jurado.idTutor.cedulaPasaporte }}</td> | ||
12 | - <td>{{ jurado.idTutor.idEscala.nombre }}</td> | ||
13 | - </tr> | 9 | + {% if jurado.idEstatusTutor.id == 1 or jurado.idEstatusTutor.id == 2 %} |
10 | + <tr> | ||
11 | + <td>{{ jurado.idTutor.nombres }}</td> | ||
12 | + <td>{{ jurado.idTutor.cedulaPasaporte }}</td> | ||
13 | + <td>{{ jurado.idTutor.idEscala.nombre }}</td> | ||
14 | + </tr> | ||
15 | + {% endif %} | ||
14 | 16 | ||
15 | {% endfor %} | 17 | {% endfor %} |
16 | 18 | ||
@@ -57,7 +59,9 @@ | @@ -57,7 +59,9 @@ | ||
57 | {% block firmas %} | 59 | {% block firmas %} |
58 | <tr> | 60 | <tr> |
59 | {% for jurado in jurados %} | 61 | {% for jurado in jurados %} |
60 | - <td> {{ jurado.idTutor.cedulaPasaporte }} <br><br></td> | 62 | + {% if jurado.idEstatusTutor.id == 1 or jurado.idEstatusTutor.id == 2 %} |
63 | + <td> {{ jurado.idTutor.cedulaPasaporte }} <br><br></td> | ||
64 | + {% endif %} | ||
61 | {% endfor %} | 65 | {% endfor %} |
62 | </tr> | 66 | </tr> |
63 | {% endblock %} | 67 | {% endblock %} |
src/AppBundle/Controller/AscensoController.php
@@ -1092,6 +1092,8 @@ class AscensoController extends Controller | @@ -1092,6 +1092,8 @@ class AscensoController extends Controller | ||
1092 | $presidente = $tutor; | 1092 | $presidente = $tutor; |
1093 | } | 1093 | } |
1094 | 1094 | ||
1095 | + | ||
1096 | + | ||
1095 | } | 1097 | } |
1096 | 1098 | ||
1097 | return $this->render('memorando/acta_defensa.html.twig', array( | 1099 | return $this->render('memorando/acta_defensa.html.twig', array( |