On ne créé des notes que pour les personnes du controle
This commit is contained in:
parent
166cbfc20b
commit
9561a365aa
1 changed files with 2 additions and 1 deletions
|
@ -32,7 +32,8 @@ class Controle {
|
||||||
|
|
||||||
public function createNotes(NoteManager $noteManager) {
|
public function createNotes(NoteManager $noteManager) {
|
||||||
foreach ($this->eleves as $eleve => $note) {
|
foreach ($this->eleves as $eleve => $note) {
|
||||||
$noteManager->createNote($this->intitule, $eleve, $this->matiere, $note, $this->coef);
|
if (!empty($note))
|
||||||
|
$noteManager->createNote($this->intitule, $eleve, $this->matiere, $note, $this->coef);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue