Skip to content

Commit

Permalink
Merge pull request #1845 from bcgov/feature/EDX-2605
Browse files Browse the repository at this point in the history
DIS: Download ELL Headcount reports by district and by school
  • Loading branch information
SodhiA1 authored Aug 15, 2024
2 parents ea5792a + 06b78bb commit bba93ee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions backend/src/components/sdc.js
Original file line number Diff line number Diff line change
Expand Up @@ -628,6 +628,8 @@ function getFileDetails(reportType, mincode) {
'ALL_STUDENT_DIS_CSV': { filename: `AllDistrictStudents_${mincode}.csv`, contentType: 'text/csv' },
'ALL_STUDENT_SCHOOL_CSV': { filename: `AllSchoolStudents_${mincode}.csv`, contentType: 'text/csv' },
'ELL_HEADCOUNT': { filename: `ELLHeadcount_${mincode}.pdf`, contentType: 'application/pdf' },
'DIS_ELL_HEADCOUNT': { filename: `ELLHeadcount_District_${mincode}.pdf`, contentType: 'application/pdf' },
'DIS_ELL_HEADCOUNT_PER_SCHOOL': { filename: `ELLHeadcount_District_${mincode}_PerSchool.pdf`, contentType: 'application/pdf' },
'DIS_REFUGEE_HEADCOUNT_PER_SCHOOL': { filename: `RefugeeHeadcount_${mincode}_Dis.pdf`, contentType: 'application/pdf' },
'SPECIAL_EDUCATION_HEADCOUNT': { filename: `SpecialEdHeadcount_${mincode}.pdf`, contentType: 'application/pdf' },
'DIS_SPECIAL_EDUCATION_HEADCOUNT': { filename: `SpecialEdHeadcount_District_${mincode}.pdf`, contentType: 'application/pdf' },
Expand Down
2 changes: 2 additions & 0 deletions backend/src/util/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,8 @@ const SDC_UPLOAD_TOPIC = 'SDC_UPLOAD_TOPIC';

const reportTypeValues = [
['ell', 'ELL_HEADCOUNT'],
['ell_dis', 'DIS_ELL_HEADCOUNT'],
['ell-per-school_dis', 'DIS_ELL_HEADCOUNT_PER_SCHOOL'],
['refugee-per-school_dis', 'DIS_REFUGEE_HEADCOUNT_PER_SCHOOL'],
['special-ed', 'SPECIAL_EDUCATION_HEADCOUNT'],
['special-ed_dis', 'DIS_SPECIAL_EDUCATION_HEADCOUNT'],
Expand Down

0 comments on commit bba93ee

Please sign in to comment.