Skip to content

Commit

Permalink
fix(PER): se corrigen parámetros
Browse files Browse the repository at this point in the history
  • Loading branch information
maring0019 committed Jun 22, 2023
1 parent 5188529 commit f5f669e
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import { CarnetPerinatalService } from './../services/carnet-perinatal.service';
styleUrls: ['listado-perinatal.scss'],
})
export class ListadoPerinatalComponent implements OnInit {
public totalOrganizaciones = false;
public fechaDesdeEntrada;
public fechaHastaEntrada;
public paciente;
Expand Down Expand Up @@ -117,6 +118,7 @@ export class ListadoPerinatalComponent implements OnInit {
map(resp => this.listadoActual = resp)
);
this.verAusente = false;
this.totalOrganizaciones = !this.auth.check('visualizacionInformacion:totalOrganizaciones');
}

filtrar() {
Expand Down Expand Up @@ -162,8 +164,7 @@ export class ListadoPerinatalComponent implements OnInit {
fechaHasta: this.fechaHastaEntrada,
profesional: this.profesional?.id,
organizacion: this.organizacion?.id,
paciente: this.paciente || '',
estado: 'AUSENTE'
paciente: this.paciente,
};
this.documentosService.descargarListadoPerinatal(params, `perinatal ${moment().format('DD-MM-hh-mm-ss')}`).subscribe();
}
Expand Down

0 comments on commit f5f669e

Please sign in to comment.