Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PER - Filtrar alertas por efector #2477

Merged
merged 1 commit into from
Oct 27, 2021
Merged

PER - Filtrar alertas por efector #2477

merged 1 commit into from
Oct 27, 2021

Conversation

palita1991
Copy link
Contributor

Requerimiento

https://proyectos.andes.gob.ar/browse/PER-50

Funcionalidad desarrollada

  1. Agrega control en filter para que filtrar aquellas alertas de captación de embarazadas por organización, es decir, el efector logueado.

UserStory llegó a completarse

  • Si
  • No
  • No corresponde

Requiere actualizaciones en la base de datos

  • Si
  • No

Requiere actualizaciones en la API

  • Si
  • No

Requiere actualizaciones en andes-test-integracion

  • Si
  • No

@liquid36
Copy link
Contributor

USUARIO: mpalavecino
BUILD NUMBER: 5194
CYPRESS RUN: 4141
TEST START: 2021-09-29T15:13:57.997Z
TOTAL: 401
SUCCESS: 400
FAIL: 0
SKIPPED: 1

};

this.carnetPerinatalService.search(params).subscribe(resultado => {
this.listado = resultado.filter(item => (moment().diff(moment(item.fechaProximoControl), 'days') >= 1) && !item.fechaFinEmbarazo && (item.controles[item.controles.length - 1].organizacion.id === this.auth.organizacion.id));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

¿Hace falta el último filtro de organización si ya se envía en params?

@liquid36 liquid36 merged commit 1a64a9b into master Oct 27, 2021
@liquid36 liquid36 deleted the PER-50 branch October 27, 2021 16:32
liquid36 pushed a commit that referenced this pull request Nov 3, 2021
# [5.71.0](v5.70.0...v5.71.0) (2021-11-03)

### Bug Fixes

* **ficha:** caso asintomatico ([#2508](#2508)) ([3cde678](3cde678))

### Features

* **bi:** filtros por zonas ([#2504](#2504)) ([d9678c1](d9678c1))
* **EP:** priorizacion seguimiento ([#2486](#2486)) ([53cebad](53cebad))
* **gdu:** suma datos de matricula externa a detalle de usuario ([#2497](#2497)) ([2445dce](2445dce))
* **per:** control para que en alertas solo traiga las correspondientes al efector logueado ([#2477](#2477)) ([1a64a9b](1a64a9b))
* **top:** permisos crear reglas ([#2503](#2503)) ([b917cc0](b917cc0))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changes done test ok Los test estan ok
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants