-
Notifications
You must be signed in to change notification settings - Fork 2
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
MONITOREO - Agregar opción para dar de baja un elementoRUP #64
base: master
Are you sure you want to change the base?
Conversation
@@ -39,4 +39,24 @@ export class RUPElementosRupListadoComponent implements OnInit { | |||
goto(url) { | |||
this.router.navigate([url]); | |||
} | |||
|
|||
removeElemento(elementoRup: any) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ya que existe una interfaz de los elementos de RUP, remplazar el "any" por dicha interfaz.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ya que existe una interfaz de los elementos de RUP, remplazar el "any" por dicha interfaz.
Cambios hechos.
elementoRup.activo = false; | ||
this.elementosRupService.save(elementoRup).subscribe(() => { | ||
this.elementosRupService.refresh.next(null); | ||
this.plex.toast('success', 'El elemento se borro correctamente', 'Información', 2000); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ya que estamos agregar acento a la palabra borró.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ya que estamos agregar acento a la palabra borró.
Cambios hechos.
21cb9a0
to
23ef4a3
Compare
77ae70e
to
bf3a677
Compare
Para subir esta funcionalidad primero hay que agregar un control del lado de la app ANDES para que si un elementoRUP deja de estar activo, no permita crear nuevos registros, pero que si se pueda usar para visualizar los datos ya registrados usando el elemento. |
Requerimiento
https://proyectos.andes.gob.ar/browse/MONIT-56
Funcionalidad desarrollada
UserStory llegó a completarse
Requiere actualizaciones en la base de datos
Requiere actualizaciones en la API
Requiere actualizaciones en andes-test-integracion