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

CIT - Ventanilla: No dar turno en agenda dinamica #2946

Merged
merged 1 commit into from
Jun 12, 2024
Merged

CIT - Ventanilla: No dar turno en agenda dinamica #2946

merged 1 commit into from
Jun 12, 2024

Conversation

JuanIRamirez
Copy link
Contributor

@JuanIRamirez JuanIRamirez commented Nov 9, 2023

Requerimiento

https://proyectos.andes.gob.ar/browse/CIT-249

Funcionalidad desarrollada

  1. Se modificó <dar-turnos> para que inabilite botón [DAR TURNO] si la agenda Dinámica no es del día de la fecha.
  2. Se corrigió <calendario> para que muestre correctamente label e iconos de cant.agendas y turnos disp.

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

}
}

agendaDinamicaFutura(dia) {
return (dia.dinamicasIndefinidas > 0 && moment(dia.fecha).format('DD/MM/YYYY') > moment().format('DD/MM/YYYY'));
Copy link
Contributor

Choose a reason for hiding this comment

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

ya que utilizamos moment, las comparaciones de las fechas no son a través de los símbolos <, > o = sino con isBefore, isAfter, etc. En la siguiente documentación hay varios ejemplos para trabajar sobre las comparaciones: https://momentjs.com/docs/

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hecho

@@ -1320,6 +1320,18 @@ export class DarTurnosComponent implements OnInit {
this.showSobreturno = !this.showSobreturno;
}

agendaDeHoy() {
return (moment(this.agenda.horaInicio).format('DD/MM/YYYY') === moment().format('DD/MM/YYYY'));
Copy link
Contributor

Choose a reason for hiding this comment

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

Similar al comentario anterior!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hecho

@MarianoCampetella MarianoCampetella added the changes requested Se solicitaron cambios label Dec 22, 2023
@ma7payne
Copy link
Contributor

ma7payne commented Jan 9, 2024

Espero a la realización de los cambios propuestos por campe para finalizar review. Dejo corriendo tests

@silviroa
Copy link
Contributor

silviroa commented Jan 9, 2024

USUARIO: mchiappe
BUILD NUMBER: 10214
CYPRESS RUN: 9322
TEST START: 2024-01-09T16:34:58.463Z
TOTAL: 406
SUCCESS: 400
FAIL: 4
SKIPPED: 2

Copy link
Contributor

@AgosLizzi AgosLizzi left a comment

Choose a reason for hiding this comment

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

Se creo tarea para analizar las mejoras visuales UIUX-374

@silviroa
Copy link
Contributor

USUARIO: mcampetella
BUILD NUMBER: 10246
CYPRESS RUN: 9353
TEST START: 2024-01-12T11:59:20.217Z
TOTAL: 91
SUCCESS: 0
FAIL: 91
SKIPPED: 0
⚠️⚠️⚠️⚠️
Hay archivos que no corrieron. Vuelva a intentar.

@silviroa
Copy link
Contributor

USUARIO: mcampetella
BUILD NUMBER: 10247
CYPRESS RUN: 9354
TEST START: 2024-01-12T12:16:29.469Z
TOTAL: 383
SUCCESS: 377
FAIL: 3
SKIPPED: 3

@silviroa
Copy link
Contributor

USUARIO: mcampetella
BUILD NUMBER: 10249
CYPRESS RUN: 9356
TEST START: 2024-01-12T13:13:10.588Z
TOTAL: 363
SUCCESS: 352
FAIL: 8
SKIPPED: 3

@JuanIRamirez JuanIRamirez added changes done and removed changes requested Se solicitaron cambios labels May 2, 2024
Copy link
Contributor

@Fabio-Ramirez Fabio-Ramirez left a comment

Choose a reason for hiding this comment

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

Juan este pr cumple con las especificaciones iniciales. Lo que menciona @AgosLizzi sobre una nueva sugerencia: https://proyectos.andes.gob.ar/browse/UIUX-374, será parte de otra tarea. Tener presente la actualización y testeo posterior.

@negro89 negro89 merged commit 6e6890e into master Jun 12, 2024
2 checks passed
@negro89 negro89 deleted the CIT-249 branch June 12, 2024 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants