Commit d40e70b06be6c038abda3c28d2bdde62be388854
1 parent
a2e9739cda
Exists in
master
añadido el mensaje que ya no puede ascender mas
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
src/AppBundle/Controller/AscensoController.php
... | ... | @@ -59,6 +59,7 @@ class AscensoController extends Controller |
59 | 59 | if($siguiente < 6){ |
60 | 60 | $nueva_escala = $this->getDoctrine()->getRepository('AppBundle:Escalafones')->findOneById($siguiente); |
61 | 61 | }else{ |
62 | + $this->addFlash('notice', 'Ya usted posee el máximo escalfón docente disponible. no puede solicitar este servicio.'); | |
62 | 63 | return $this->redirect($this->generateUrl('servicios_index')); |
63 | 64 | } |
64 | 65 | ... | ... |