Commit 4ed5aa66b189d9351f9e8560536415d317a8b1ff
1 parent
1e8e3249f3
Exists in
master
añadido actualizar el estatus en espera para avisarle al coordinador
Showing
1 changed file
with
3 additions
and
1 deletions
Show diff stats
src/AppBundle/Controller/AdscripcionController.php
... | ... | @@ -620,7 +620,9 @@ class AdscripcionController extends Controller |
620 | 620 | } |
621 | 621 | |
622 | 622 | |
623 | - | |
623 | + $servicio->setIdEstatus($this->getDoctrine()->getRepository("AppBundle:Estatus")->findOneById(2)); | |
624 | + $em->persist($documento); | |
625 | + $em->flush(); | |
624 | 626 | return $this->redirect($this->generateUrl('adscripcion_show', array('id' => $servicio->getId()))); |
625 | 627 | } |
626 | 628 | ... | ... |