forked from ScoDoc/ScoDoc
Fix: saisie si aucun etudiant
This commit is contained in:
parent
a8367a84fb
commit
5467ad2437
@ -496,6 +496,7 @@ def SignaleAbsenceGrSemestre(
|
||||
require_module = sco_preferences.get_preference(
|
||||
"abs_require_module", formsemestre_id
|
||||
)
|
||||
sem = sco_formsemestre.do_formsemestre_list({"formsemestre_id": formsemestre_id})[0]
|
||||
etuds = [
|
||||
sco_etud.get_etud_info(etudid=m["etudid"], filled=True)[0]
|
||||
for m in groups_infos.members
|
||||
@ -526,9 +527,7 @@ def SignaleAbsenceGrSemestre(
|
||||
|
||||
if etuds:
|
||||
nt = sco_cache.NotesTableCache.get(formsemestre_id)
|
||||
sem = sco_formsemestre.do_formsemestre_list(
|
||||
{"formsemestre_id": formsemestre_id}
|
||||
)[0]
|
||||
|
||||
work_saturday = sco_abs.is_work_saturday()
|
||||
jourdebut = sco_abs.ddmmyyyy(datedebut, work_saturday=work_saturday)
|
||||
jourfin = sco_abs.ddmmyyyy(datefin, work_saturday=work_saturday)
|
||||
|
Loading…
Reference in New Issue
Block a user