Commit 23e6829c78a005c1257f0f510803bea06ca3513a
1 parent
0ea063e2ce
Exists in
master
añadido el rechazo de la solicitud de reconocimiento de escala junto con su nuev…
…a subida de documento
Showing
3 changed files
with
5 additions
and
3 deletions
Show diff stats
app/Resources/views/cea/reconocimiento_escala_mostrar.html.twig
app/Resources/views/solicitudes/index.html.twig
... | ... | @@ -54,7 +54,11 @@ |
54 | 54 | |
55 | 55 | {% if servicio.idServicioCe.id == 5 %} |
56 | 56 | <a href="{{ path('adscripcion_show', { 'id': servicio.id }) }}" class="btn btn-xs btn-info"><i class="fa fa-eye"> </i></a> |
57 | + | |
57 | 58 | {%endif%} |
59 | + {% if servicio.idServicioCe.id == 6 %} | |
60 | + <a href="{{ path('adscripcion_show', { 'id': servicio.id }) }}" class="btn btn-xs btn-info"><i class="fa fa-eye"> </i></a> | |
61 | + {% endif %} | |
58 | 62 | </td> |
59 | 63 | </tr> |
60 | 64 | {% endfor %} | ... | ... |
src/AppBundle/Controller/AscensoController.php
... | ... | @@ -617,8 +617,6 @@ class AscensoController extends Controller |
617 | 617 | $servicio->setIdEstatus($this->getDoctrine()->getRepository('AppBundle:Estatus')->findOneById(3)); |
618 | 618 | |
619 | 619 | |
620 | - $ServicioAscenso->setIdEstatus($this->getDoctrine()->getRepository('AppBundle:Estatus')->findOneById(4)); | |
621 | - $ascenso->setIdEstatus($this->getDoctrine()->getRepository('AppBundle:Estatus')->findOneById(4)); | |
622 | 620 | } |
623 | 621 | |
624 | 622 | $em->persist($ServicioAscenso); | ... | ... |