Skip to content

Commit

Permalink
feat(internacion): notifica ruta volver a mapa de camas (#2207)
Browse files Browse the repository at this point in the history
  • Loading branch information
plammel authored Apr 13, 2021
1 parent ac7dd18 commit ac0b323
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,7 @@ export class PrestacionEjecucionComponent implements OnInit, OnDestroy {
break;
case 'internacion':
if (ruta) {
mensaje = 'Punto de Inicio';
mensaje = this.btnVolver;
ruteo = ruta;
} else {
mensaje = 'Mapa de Camas';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ export class PuntoInicioInternacionComponent implements OnInit {
*/
nuevoRegistro(concepto) {
let nuevaPrestacion = this.servicioPrestacion.inicializarPrestacion(this.pacienteSeleccionado, concepto, 'ejecucion', 'internacion');
this.servicioPrestacion.notificaRuta({ nombre: 'Punto inicio', ruta: 'internacion/inicio' });
this.servicioPrestacion.post(nuevaPrestacion).subscribe(prestacion => {
this.router.navigate(['rup/ejecucion', prestacion.id]);
});
Expand Down

0 comments on commit ac0b323

Please sign in to comment.