From 5551003ffff58df858a358411b8356786b64901b Mon Sep 17 00:00:00 2001 From: Iziram Date: Sun, 24 Sep 2023 09:33:24 +0200 Subject: [PATCH] Assiduites : Filtrage Justif #745 --- app/templates/assiduites/pages/bilan_dept.j2 | 2 +- app/templates/assiduites/pages/bilan_etud.j2 | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/app/templates/assiduites/pages/bilan_dept.j2 b/app/templates/assiduites/pages/bilan_dept.j2 index 2db0dce9e7..5da0ae640d 100644 --- a/app/templates/assiduites/pages/bilan_dept.j2 +++ b/app/templates/assiduites/pages/bilan_dept.j2 @@ -39,7 +39,7 @@ function getDeptJustificatifsFromPeriod(action) { const formsemestre = formsemestre_id ? `&formsemestre_id=${formsemestre_id}` : "" const group = group_id ? `&group_id=${group_id}` : "" - const path = getUrl() + `/api/justificatifs/dept/${dept_id}/query?date_debut=${bornes.deb}&date_fin=${bornes.fin}&etat=attente,modifie${formsemestre}${group}` + const path = getUrl() + `/api/justificatifs/dept/${dept_id}/query?date_debut=${bornes.deb}&date_fin=${bornes.fin}${formsemestre}${group}` async_get( path, (data, status) => { diff --git a/app/templates/assiduites/pages/bilan_etud.j2 b/app/templates/assiduites/pages/bilan_etud.j2 index 3a9ee64b26..8bc9a90f9b 100644 --- a/app/templates/assiduites/pages/bilan_etud.j2 +++ b/app/templates/assiduites/pages/bilan_etud.j2 @@ -27,9 +27,17 @@

Absences et retards non justifiés

+ + + + {% include "assiduites/widgets/tableau_assi.j2" %}

Justificatifs en attente (ou modifiés)

+ + + + {% include "assiduites/widgets/tableau_justi.j2" %}