Attendance Codes has to be created in openSIS to take attendance for the students.
To set it up go to Attendance >> Setup >> Attendance Codes.
The Types should be selected as per requirement. The attendance status which can be changed by both teachers & admin should be selected as Teacher & Office. The types which can be given by the Admin should be Office only. The proper Type has to be selected from the Types dropdown.
The Default for Teacher & Office option makes the particular attendance title highlighted for the teacher while taking attendance. It reduces clicks on the attendance page.
The State Code needs to be selected properly from Present, Absent & Half to calculate the attendance related reports correctly.