[Vulcan/Hebe] Add handling custom presence types.

This commit is contained in:
Kuba Szczodrzyński 2021-02-21 23:30:20 +01:00
parent e869107101
commit a11a44b768

View File

@ -132,6 +132,9 @@ class VulcanHebeAttendance(
else if (released) else if (released)
Attendance.TYPE_RELEASED Attendance.TYPE_RELEASED
else if (present) else if (present)
if (attendanceType.getInt("CategoryId") != 1)
Attendance.TYPE_PRESENT_CUSTOM
else
Attendance.TYPE_PRESENT Attendance.TYPE_PRESENT
else else
Attendance.TYPE_UNKNOWN Attendance.TYPE_UNKNOWN