Commit a6bf9f63c15860be0d3b25ae367e6e0ede09cfdf
1 parent
ea1d2e4279
Exists in
master
mostrar al coordinador el tipo de trabajo de ascenso del solicitante
Showing
2 changed files
with
14 additions
and
2 deletions
Show diff stats
app/Resources/views/cea/ascenso_mostar.html.twig
@@ -61,6 +61,7 @@ | @@ -61,6 +61,7 @@ | ||
61 | </table> | 61 | </table> |
62 | 62 | ||
63 | <p><strong>Escalafón Solicita:</strong> {{ ascenso.idEscalafones.nombre }} </p> | 63 | <p><strong>Escalafón Solicita:</strong> {{ ascenso.idEscalafones.nombre }} </p> |
64 | + | ||
64 | 65 | ||
65 | <h4>Jurados propuestos por el Docente</h4> | 66 | <h4>Jurados propuestos por el Docente</h4> |
66 | {% set añadirJurado = true %} | 67 | {% set añadirJurado = true %} |
@@ -84,8 +85,7 @@ | @@ -84,8 +85,7 @@ | ||
84 | 85 | ||
85 | {% endfor %} | 86 | {% endfor %} |
86 | </div> | 87 | </div> |
87 | - {% if añadirJurado %} | ||
88 | - {{ dump(cantidadJurado) }} | 88 | + {% if añadirJurado %} |
89 | <p id="falta" class="label label-danger" data-faltaid = '{{cantidadJurado}}'> | 89 | <p id="falta" class="label label-danger" data-faltaid = '{{cantidadJurado}}'> |
90 | El docente no tiene o le faltó completar posibles jurados | 90 | El docente no tiene o le faltó completar posibles jurados |
91 | </p> | 91 | </p> |
@@ -116,6 +116,16 @@ | @@ -116,6 +116,16 @@ | ||
116 | <div class="form-group"> | 116 | <div class="form-group"> |
117 | <label for="titulo">Título del Trabajo:</label> | 117 | <label for="titulo">Título del Trabajo:</label> |
118 | <input type="text" class="form-control" value="{{ascenso.tituloTrabajo}}" /> | 118 | <input type="text" class="form-control" value="{{ascenso.tituloTrabajo}}" /> |
119 | + <p><strong>Tipo de Trabajo de Ascneso:</strong> {{ ascenso.tipoTrabajoInvestigacion }} </p> | ||
120 | + {% if ascenso.tipoTrabajoInvestigacion == 'tesis' %} | ||
121 | + {% if ascenso.tesisUbv %} | ||
122 | + <p>Debe tener informe de pertinencia debido a que | ||
123 | + es una tesis fuera de UBV</p> | ||
124 | + {% else %} | ||
125 | + <p>La Tesis fue hecha dentro de UBV</p> | ||
126 | + | ||
127 | + {% endif %} | ||
128 | + {% endif %} | ||
119 | </div> | 129 | </div> |
120 | {% endif %} | 130 | {% endif %} |
121 | 131 |
src/AppBundle/Controller/AscensoController.php
@@ -754,6 +754,8 @@ function thumbnail2 ($filename, $fuente, $destino){ | @@ -754,6 +754,8 @@ function thumbnail2 ($filename, $fuente, $destino){ | ||
754 | imagecopyresized($nm, $im, 0,0,0,0,$nx,$ny,$ox,$oy); | 754 | imagecopyresized($nm, $im, 0,0,0,0,$nx,$ny,$ox,$oy); |
755 | 755 | ||
756 | imagejpeg($nm, $destino . "/" . $filename); | 756 | imagejpeg($nm, $destino . "/" . $filename); |
757 | + }else{ | ||
758 | + move_uploaded_file($fuente . "/" . $filename, $destino); | ||
757 | } | 759 | } |
758 | } | 760 | } |
759 | 761 |