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,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);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue