mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-07 21:48:16 -08:00
feat: add new bll report to exports page
This commit is contained in:
parent
7fd441a56e
commit
d3e680e5a5
1 changed files with 6 additions and 0 deletions
|
|
@ -81,6 +81,12 @@ class ExportsController < ApplicationController
|
|||
send_data data, disposition: "attachment",
|
||||
filename: "beyond_learning_loss_#{Date.today}.csv"
|
||||
},
|
||||
"Beyond Learning Loss - Response Rate" => lambda { |schools, academic_years|
|
||||
data = Report::BeyondLearningLossSchoolResponseRates.to_csv(schools:,
|
||||
academic_years:)
|
||||
send_data data, disposition: "attachment",
|
||||
filename: "beyond_learning_loss_response_rate_#{Date.today}.csv"
|
||||
},
|
||||
"Survey Item - By Item" => lambda { |schools, academic_years, use_student_survey_items|
|
||||
data = Report::SurveyItemByItem.to_csv(schools:, academic_years:,
|
||||
use_student_survey_items:)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue