forked from ScoDoc/ScoDoc
Assiduité : signal_assiduites_group : bug fix suppr assi autre
This commit is contained in:
parent
f106b26203
commit
12dc837f64
@ -425,7 +425,7 @@ async function getModuleImpl(assiduite) {
|
||||
return res.json();
|
||||
})
|
||||
.then((data) => {
|
||||
moduleimpls[id] = `${data.module.code} ${data.module.abbrev || ''}`;
|
||||
moduleimpls[id] = `${data.module.code} ${data.module.abbrev || ""}`;
|
||||
return moduleimpls[id];
|
||||
})
|
||||
.catch((_) => {
|
||||
@ -531,12 +531,7 @@ async function MiseAJourLigneEtud(etud) {
|
||||
|
||||
async function actionAssiduite(etud, etat, type, assiduite = null) {
|
||||
const modimpl_id = $("#moduleimpl_select").val();
|
||||
if (
|
||||
assiduite &&
|
||||
assiduite.etat.toLowerCase() === etat &&
|
||||
assiduite.moduleimpl_id == modimpl_id
|
||||
)
|
||||
type = "suppression";
|
||||
if (assiduite && assiduite.etat.toLowerCase() === etat) type = "suppression";
|
||||
|
||||
const { deb, fin } = getPeriodAsDate();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user