Skip to content

fix: update attendance calculation to exclude medical from total#21

Open
Amzadali18 wants to merge 1 commit intomidhunann:mainfrom
Amzadali18:patch-1
Open

fix: update attendance calculation to exclude medical from total#21
Amzadali18 wants to merge 1 commit intomidhunann:mainfrom
Amzadali18:patch-1

Conversation

@Amzadali18
Copy link
Copy Markdown

feat: update attendance logic to subtract medical leave from total classes

  • Removed medical from numerator
  • Subtracted medical from total classes
  • Updated bunk calculation logic
  • Fixed UI to match new formula
    formula:(Present + Duty Leave) / (Total - Medical)

Refactor attendance calculation to include adjusted total and improve data consistency checks.
(Present + Duty Leave) / (Total - Medical)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant