Addinformation to debug absence
This commit is contained in:
parent
1280c65097
commit
100c1761db
1 changed files with 4 additions and 2 deletions
|
@ -27,7 +27,9 @@ class AbsencesAction extends YesWikiAction
|
||||||
|
|
||||||
foreach ($entries as $entry) {
|
foreach ($entries as $entry) {
|
||||||
$identifier = $entry[$eleveIdentifier];
|
$identifier = $entry[$eleveIdentifier];
|
||||||
$nom = $entryManager->getOne($identifier)['bf_nom'];
|
$eleve = $entryManager->getOne($identifier);
|
||||||
|
echo "<p>".var_dump($eleve)."</p>";
|
||||||
|
$nom = $eleve['bf_nom'];
|
||||||
if (!isset($grouped_entries[$identifier])) {
|
if (!isset($grouped_entries[$identifier])) {
|
||||||
$grouped_entries[$identifier] = [
|
$grouped_entries[$identifier] = [
|
||||||
'nom' => $nom,
|
'nom' => $nom,
|
||||||
|
@ -36,7 +38,7 @@ class AbsencesAction extends YesWikiAction
|
||||||
}
|
}
|
||||||
$grouped_entries[$identifier]['entries'][] = $entry;
|
$grouped_entries[$identifier]['entries'][] = $entry;
|
||||||
}
|
}
|
||||||
|
|
||||||
return $this->render('@meeo/edu_absences.twig', [
|
return $this->render('@meeo/edu_absences.twig', [
|
||||||
"groups" => $grouped_entries,
|
"groups" => $grouped_entries,
|
||||||
]);
|
]);
|
||||||
|
|
Loading…
Reference in a new issue