forked from github/szkolny
[Vulcan/Hebe] Add handling custom presence types.
This commit is contained in:
parent
e869107101
commit
a11a44b768
@ -132,6 +132,9 @@ class VulcanHebeAttendance(
|
||||
else if (released)
|
||||
Attendance.TYPE_RELEASED
|
||||
else if (present)
|
||||
if (attendanceType.getInt("CategoryId") != 1)
|
||||
Attendance.TYPE_PRESENT_CUSTOM
|
||||
else
|
||||
Attendance.TYPE_PRESENT
|
||||
else
|
||||
Attendance.TYPE_UNKNOWN
|
||||
|
Loading…
Reference in New Issue
Block a user