Commit a2e9739cda448b2d383530d567ce60d84b41a157
1 parent
924824d5ca
Exists in
master
corregido el error donde mostraba que si tenia solicitud de antiguedad
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/AppBundle/Controller/AscensoController.php
@@ -346,7 +346,7 @@ class AscensoController extends Controller | @@ -346,7 +346,7 @@ class AscensoController extends Controller | ||
346 | 346 | ||
347 | $pida = $this->getDoctrine()->getRepository('AppBundle:AdscripcionPida')->findOneByIdRolInstitucion($servicio->getIdRolInstitucion()); | 347 | $pida = $this->getDoctrine()->getRepository('AppBundle:AdscripcionPida')->findOneByIdRolInstitucion($servicio->getIdRolInstitucion()); |
348 | $antiguedad = $this->getDoctrine()->getRepository('AppBundle:DocenteServicio')->findOneBy(array( | 348 | $antiguedad = $this->getDoctrine()->getRepository('AppBundle:DocenteServicio')->findOneBy(array( |
349 | - 'idRolInstitucion' => $this->getUser()->getIdRolInstitucion(), | 349 | + 'idRolInstitucion' => $servicio->getIdRolInstitucion(), |
350 | 'idServicioCe' => 1 | 350 | 'idServicioCe' => 1 |
351 | )); | 351 | )); |
352 | 352 |