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 30, 2023
1 parent 59796e6 commit 41d67ba
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -162,9 +162,11 @@ export class ListadoPerinatalComponent implements OnInit {
fechaHasta: this.fechaHastaEntrada,
profesional: this.profesional?.id,
organizacion: this.organizacion?.id,
paciente: this.paciente || '',
estado: 'AUSENTE'
paciente: this.paciente
};
if (this.verAusente) {
params['estado'] = 'AUSENTE';
}
this.documentosService.descargarListadoPerinatal(params, `perinatal ${moment().format('DD-MM-hh-mm-ss')}`).subscribe();
}

Expand Down

0 comments on commit 41d67ba

Please sign in to comment.