On ne créé des notes que pour les personnes du controle

This commit is contained in:
mckmonster 2024-07-27 17:40:54 +02:00
parent 166cbfc20b
commit 9561a365aa

View file

@ -32,6 +32,7 @@ class Controle {
public function createNotes(NoteManager $noteManager) { public function createNotes(NoteManager $noteManager) {
foreach ($this->eleves as $eleve => $note) { foreach ($this->eleves as $eleve => $note) {
if (!empty($note))
$noteManager->createNote($this->intitule, $eleve, $this->matiere, $note, $this->coef); $noteManager->createNote($this->intitule, $eleve, $this->matiere, $note, $this->coef);
}; };
} }