Browse Source

Improves for legend on Report page: If a student began to attend classes later, the taken sessions for him will be shown as '-'.

MOODLE_23_STABLE
Artem Andreev 14 years ago
parent
commit
4254dfb830
  1. 4
      report.php

4
report.php

@ -168,9 +168,13 @@
if ($sessdata->groupid && !array_key_exists($sessdata->groupid, $studgroups))
$table->data[$student->id][] = '';
else
if($sessdata->lasttaken > 0) {
$table->data[$student->id][] = '–';
} else {
$table->data[$student->id][] = '?';
}
}
}
foreach($statuses as $st) {
$table->data[$student->id][] = get_attendance($student->id, $course, $st->id);
}

Loading…
Cancel
Save