Skip to content

Commit

Permalink
added is_attendance_mandatory in studentattendance page
Browse files Browse the repository at this point in the history
  • Loading branch information
Diwakar-Gupta committed Dec 19, 2023
1 parent 09de667 commit b40859e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions templates/attendance/studentAttendance.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ <h1>{{ data.student.name }}'s Attendance</h1>
<th>Class Name</th>
<th>Start Time</th>
<th>End Time</th>
<th>Attendance Mandatory</th>
<th>Status</th>
</tr>
</thead>
Expand All @@ -56,6 +57,7 @@ <h1>{{ data.student.name }}'s Attendance</h1>
<td>{{ attendance_info.name }}</td>
<td>{{ attendance_info.class_start_time }}</td>
<td>{{ attendance_info.class_end_time }}</td>
<td>{{attendance_info.is_attendance_mandatory}}</td>

{% if attendance_info.status == 'Present' %}
<td class="green">Present</td>
Expand Down

0 comments on commit b40859e

Please sign in to comment.