Attendance Integration

System LogicVerifiedShare on

Daily result algorithm.

HM Redowan1 min readUpdated 2026-12-04

Bu sayfanın Türkçe çevirisi editör incelemesinde. İngilizce sürüm gösteriliyor.

ts
dailyResult(statuses)
  absent >= 5 → "full"
  absent >= 4 || late >= 4 → "half"
  else → "present"

halfDayPart(periods, records): morning = first ⌈n/2⌉ lesson periods; counts absences (or lates when the half day came from lates) in each half; ties → morning.

Bu sayfa yardımcı oldu mu?