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 May 23, 2023
1 parent 9d55d7c commit b468500
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ export class ListadoPerinatalComponent implements OnInit {
profesional: this.profesional?.id,
organizacion: this.organizacion?.id,
paciente: this.paciente || '',
estado: 'AUSENTE'
estado: 'AUSENTE' || ''
};
this.documentosService.descargarListadoPerinatal(params, `perinatal ${moment().format('DD-MM-hh-mm-ss')}`).subscribe();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export class CarnetPerinatalService extends ResourceBaseHttp {
if (profesional) {
params.profesional = (profesional as IProfesional).id;
}
params.fechaControl = this.queryDateParams(fechaDesde as Date, fechaHasta as Date);
params.fecha = this.queryDateParams(fechaDesde as Date, fechaHasta as Date);

return this.search(params).pipe(
map(resultados => {
Expand Down

0 comments on commit b468500

Please sign in to comment.