Improves for legend on Report page: If a student began to attend classes later, the...
authorArtem Andreev <andreev.artem@gmail.com>
Fri, 17 Dec 2010 12:16:58 +0000 (15:16 +0300)
committerArtem Andreev <andreev.artem@gmail.com>
Fri, 17 Dec 2010 12:16:58 +0000 (15:16 +0300)
report.php

index 6f7d80d..9090e03 100644 (file)
                         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) {