Browse Source

Add user's remarks to report

MOODLE_26_STABLE
Nadav Kavalerchik 11 years ago
parent
commit
6b89d922d4
  1. 4
      locallib.php

4
locallib.php

@ -1078,7 +1078,7 @@ class attendance {
$where = "ats.attendanceid = :aid AND ats.sessdate >= :csdate";
}
$sql = "SELECT ats.id, ats.sessdate, ats.groupid, al.statusid
$sql = "SELECT ats.id, ats.sessdate, ats.groupid, al.statusid, al.remarks
FROM {attendance_sessions} ats
JOIN {attendance_log} al
ON ats.id = al.sessionid AND al.studentid = :uid
@ -1405,4 +1405,4 @@ function attforblock_upgrade() {
rebuild_course_cache($attendance->courseid, true);
}
$attendances->close();
}
}

Loading…
Cancel
Save