From 4fe4dfe3e1676397be38029b6cdffcf9a30dfb03 Mon Sep 17 00:00:00 2001 From: Iziram Date: Fri, 17 Nov 2023 12:38:36 +0100 Subject: [PATCH] Assiduites : bugfix module saisie abs hebdo --- app/scodoc/sco_moduleimpl_status.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/app/scodoc/sco_moduleimpl_status.py b/app/scodoc/sco_moduleimpl_status.py index b6e35816..b90382a4 100644 --- a/app/scodoc/sco_moduleimpl_status.py +++ b/app/scodoc/sco_moduleimpl_status.py @@ -331,15 +331,16 @@ def moduleimpl_status(moduleimpl_id=None, partition_id=None): >Saisie Absences journée """ ) - + year, week, day = datetime.date.today().isocalendar() + semaine: str = f"{year}-W{week}" H.append( f"""