diff --git a/app/templates/assiduites/widgets/tableau_assi.j2 b/app/templates/assiduites/widgets/tableau_assi.j2 index 1eb634bef..8457539b8 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');