From 4bf7b0dd78a3d88f30b3a32f89f09a71b6ba7824 Mon Sep 17 00:00:00 2001 From: Iziram Date: Mon, 18 Sep 2023 18:08:02 +0200 Subject: [PATCH] Assiduites : fix bug module tableau assi edition --- app/templates/assiduites/widgets/tableau_assi.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/templates/assiduites/widgets/tableau_assi.j2 b/app/templates/assiduites/widgets/tableau_assi.j2 index 1eb634befb..8457539b82 100644 --- a/app/templates/assiduites/widgets/tableau_assi.j2 +++ b/app/templates/assiduites/widgets/tableau_assi.j2 @@ -227,7 +227,7 @@ assiEdit.querySelector('#etat').value = etat.toLowerCase(); assiEdit.querySelector('#desc').value = desc != null ? desc : ""; - updateSelect(module, '#moduleimpl_select', "2022-09-04") + updateSelect(module, '#moduleimpl_select', data.date_debut.split('T')[0]) assiEdit.querySelector('#module').replaceWith(document.querySelector('#moduleimpl_select').cloneNode(true)); openPromptModal("Modification de l'assiduité", assiEdit, () => { const prompt = document.querySelector('.assi-edit');