[Notes] Rajout de l'affichage pour un élève

This commit is contained in:
mckmonster 2024-07-12 16:57:59 +02:00
parent 4f8b373bf0
commit a279834374

View file

@ -30,13 +30,21 @@ class NotesAction extends YesWikiAction
$entries = $entryManager->search(['formsIds' => $formId]);
$matieres = $listManager->getOne('ListeMatiere');
// echo var_dump($eleves);
echo var_dump($entries);
// echo var_dump($entries);
// echo var_dump($matieres);
return $this->render('@meeo/edu_notes.twig', [
"eleves" => $eleves,
"entries" => $entries,
"matieres" => $matieres,
]);
} else {
$entries = $entryManager->search(['formsIds' => $formId]);
$matieres = $listManager->getOne('ListeMatiere');
return $this->render('@meeo/eeleve_notes.twig', [
"entries" => $entries,
"matieres" => $matieres,
]);
}
}
}