Pass $course_has_begun to report_attendance() view