Add Overall Response Rate

This commit is contained in:
rebuilt 2023-05-16 13:19:29 -07:00 committed by Gabe Farrell
parent 435bc4a5be
commit a71ebbc4e4
19 changed files with 585 additions and 244 deletions

View file

@ -7,6 +7,10 @@ class OverviewController < SqmApplicationController
def index
@variance_chart_row_presenters = measures.map(&method(:presenter_for_measure))
@category_presenters = Category.sorted.map { |category| CategoryPresenter.new(category:) }
@student_response_rate_presenter = ResponseRatePresenter.new(focus: :student, school: @school,
academic_year: @academic_year)
@teacher_response_rate_presenter = ResponseRatePresenter.new(focus: :teacher, school: @school,
academic_year: @academic_year)
end
private