Commit 6edc22a246108769b55d20b40d76883b31c4695a
1 parent
6bcaaff998
Exists in
master
probada la solicitud de ascenso con los tiempos necesarios para poder hacerlos
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/AppBundle/Controller/AscensoController.php
@@ -220,7 +220,7 @@ class AscensoController extends Controller | @@ -220,7 +220,7 @@ class AscensoController extends Controller | ||
220 | 220 | ||
221 | $em->persist($servicios); | 221 | $em->persist($servicios); |
222 | $em->persist($ascenso); | 222 | $em->persist($ascenso); |
223 | - | 223 | + //si realizó la solicitud usando la antiguedad, esta se formaliza |
224 | if($formalizarTiempo){ | 224 | if($formalizarTiempo){ |
225 | $servicioAntiguedad->setIdEstatus($this->getDoctrine()->getRepository("AppBundle:Estatus")->findOneById(4)); | 225 | $servicioAntiguedad->setIdEstatus($this->getDoctrine()->getRepository("AppBundle:Estatus")->findOneById(4)); |
226 | $em->persist($servicioAntiguedad); | 226 | $em->persist($servicioAntiguedad); |