From 3eec57eb48457a5e17c82e03062bc44084b60354 Mon Sep 17 00:00:00 2001 From: Wilmer Date: Thu, 9 Mar 2017 10:22:28 -0400 Subject: [PATCH] validado los botones de aprobar y rechazar para que solo aparezcan cuando es necesario en el ascenso! --- app/Resources/views/cea/ascenso_mostar.html.twig | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/app/Resources/views/cea/ascenso_mostar.html.twig b/app/Resources/views/cea/ascenso_mostar.html.twig index 859dc36..1d95b9d 100644 --- a/app/Resources/views/cea/ascenso_mostar.html.twig +++ b/app/Resources/views/cea/ascenso_mostar.html.twig @@ -298,8 +298,12 @@ - -  Rechazar + {% if servicio.idEstatus.id == 3 %} + + {% elseif servicio.idEstatus.id == 2 %} + +  Rechazar + {% endif %} -- 2.0.0