Commit 002c7bbc6f35704e333f5751db57c9d3fff4fb09
1 parent
2c6443ac0d
Exists in
master
corregido error que aunque estaba formalizada, solicitaba que reconocieran escalafon
Showing
1 changed file
with
8 additions
and
4 deletions
Show diff stats
app/Resources/views/cea/reconocimiento_escala_mostrar.html.twig
| ... | ... | @@ -20,7 +20,7 @@ |
| 20 | 20 | </h4> |
| 21 | 21 | </div> |
| 22 | 22 | <div class="col-md-3"> |
| 23 | - {% if servicio.idEstatus.id == 1 %} | |
| 23 | + {% if servicio.idEstatus.id == 4 %} | |
| 24 | 24 | <h4 class="alert alert-success">Estatus <strong>{{servicio.idEstatus}}</strong> |
| 25 | 25 | {% elseif servicio.idEstatus.id == 3 %} |
| 26 | 26 | <h4 class="alert alert-danger">Estatus <strong>{{servicio.idEstatus}}</strong> |
| ... | ... | @@ -64,8 +64,10 @@ |
| 64 | 64 | </div> |
| 65 | 65 | {% endif %} |
| 66 | 66 | |
| 67 | - <form name="input" action="{{ path('cea_escala_actualizar', { 'id': servicio.id, 'escala': 'escalafones', 'estatus' : 'true' }) }}" method="post"> | |
| 68 | - {% if not ascenso %} | |
| 67 | + {% if servicio.idEstatus.id == 2 %} | |
| 68 | + <form name="input" action="{{ path('cea_escala_actualizar', { 'id': servicio.id, 'escala': 'escalafones', 'estatus' : 'true' }) }}" method="post"> | |
| 69 | + {% if not ascenso %} | |
| 70 | + | |
| 69 | 71 | <select name="escala" required> |
| 70 | 72 | <option value="">Escalafón al cual aprobó Concurso</option> |
| 71 | 73 | {% for esc in escalafones %} |
| ... | ... | @@ -80,7 +82,9 @@ |
| 80 | 82 | {% endif %} |
| 81 | 83 | <br><label for="fecha_escala"> Fecha de Escalafón: </label> <input type="date" name="fecha_escala" /> |
| 82 | 84 | <br><button type="submit" class="btn btn-success btn-sm" ><span class="fa fa-check"></span> Aprobar</button> |
| 83 | - </form> | |
| 85 | + | |
| 86 | + </form> | |
| 87 | + {% endif %} | |
| 84 | 88 | |
| 85 | 89 | </div> |
| 86 | 90 | ... | ... |