|
@ -869,9 +869,11 @@ class mod_attendance_renderer extends plugin_renderer_base { |
|
|
foreach ($reportdata->sessions as $sess) { |
|
|
foreach ($reportdata->sessions as $sess) { |
|
|
foreach ($reportdata->users as $user) { |
|
|
foreach ($reportdata->users as $user) { |
|
|
foreach($reportdata->statuses as $status) { |
|
|
foreach($reportdata->statuses as $status) { |
|
|
|
|
|
if (!empty($reportdata->sessionslog[$user->id][$sess->id])) { |
|
|
if ($reportdata->sessionslog[$user->id][$sess->id]->statusid == $status->id) $sessionstats[$status->id]++; |
|
|
if ($reportdata->sessionslog[$user->id][$sess->id]->statusid == $status->id) $sessionstats[$status->id]++; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
$statsoutput = '<br/>'; |
|
|
$statsoutput = '<br/>'; |
|
|
foreach($reportdata->statuses as $status) { |
|
|
foreach($reportdata->statuses as $status) { |
|
|