projects
/
moodle-mod_attendance.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6bcee3
)
Improves for legend on Report page: If a student began to attend classes later, the...
author
Artem Andreev
<andreev.artem@gmail.com>
Fri, 17 Dec 2010 12:16:58 +0000
(15:16 +0300)
committer
Artem Andreev
<andreev.artem@gmail.com>
Fri, 17 Dec 2010 12:16:58 +0000
(15:16 +0300)
report.php
patch
|
blob
|
history
diff --git
a/report.php
b/report.php
index
6f7d80d
..
9090e03
100644
(file)
--- a/
report.php
+++ b/
report.php
@@
-168,7
+168,11
@@
if ($sessdata->groupid && !array_key_exists($sessdata->groupid, $studgroups))
$table->data[$student->id][] = '';
else
- $table->data[$student->id][] = '?';
+ if($sessdata->lasttaken > 0) {
+ $table->data[$student->id][] = '–';
+ } else {
+ $table->data[$student->id][] = '?';
+ }
}
}
foreach($statuses as $st) {