mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-10 16:00:33 -07:00
feat: add esp counts when calculating teacher participation rates on overview page
This commit is contained in:
parent
2f4d0bb56b
commit
534f42dfe0
11 changed files with 131 additions and 2 deletions
|
|
@ -30,4 +30,8 @@ class Respondent < ApplicationRecord
|
|||
def for_grade(grade)
|
||||
send(GRADE_SYMBOLS[grade])
|
||||
end
|
||||
|
||||
def total_educators
|
||||
(total_teachers || 0) + (total_esp || 0)
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue