Skip to content

Commit

Permalink
Merge pull request #1837 from bcgov/feature/EDX-2603
Browse files Browse the repository at this point in the history
DIS: Download Indig and Support Programs Headcount reports by district and by school
  • Loading branch information
arcshiftsolutions authored Aug 15, 2024
2 parents e8f502e + 5081ccc commit 241fec8
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 @@ -633,6 +633,8 @@ function getFileDetails(reportType, mincode) {
'DIS_SPECIAL_EDUCATION_HEADCOUNT': { filename: `SpecialEdHeadcount_District_${mincode}.pdf`, contentType: 'application/pdf' },
'DIS_SPECIAL_EDUCATION_HEADCOUNT_PER_SCHOOL': { filename: `SpecialEdHeadcount_District_${mincode}_PerSchool.pdf`, contentType: 'application/pdf' },
'INDIGENOUS_HEADCOUNT': { filename: `IndigenousHeadcount_${mincode}.pdf`, contentType: 'application/pdf' },
'DIS_INDIGENOUS_HEADCOUNT': { filename: `IndigenousHeadcount_District_${mincode}.pdf`, contentType: 'application/pdf' },
'DIS_INDIGENOUS_HEADCOUNT_PER_SCHOOL': { filename: `IndigenousHeadcount_District_${mincode}_PerSchool.pdf`, contentType: 'application/pdf' },
'BAND_RESIDENCE_HEADCOUNT': { filename: `BandOfResidenceHeadcount_${mincode}.pdf`, contentType: 'application/pdf' },
'CAREER_HEADCOUNT': { filename: `CareerProgramsHeadcount_${mincode}.pdf`, contentType: 'application/pdf' },
'FRENCH_HEADCOUNT': { filename: `FrenchProgramsHeadcount_${mincode}_School.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 @@ -187,6 +187,8 @@ const reportTypeValues = [
['special-ed_dis', 'DIS_SPECIAL_EDUCATION_HEADCOUNT'],
['special-ed-per-school_dis', 'DIS_SPECIAL_EDUCATION_HEADCOUNT_PER_SCHOOL'],
['indigenous', 'INDIGENOUS_HEADCOUNT'],
['indigenous_dis', 'DIS_INDIGENOUS_HEADCOUNT'],
['indigenous-per-school_dis', 'DIS_INDIGENOUS_HEADCOUNT_PER_SCHOOL'],
['band-codes', 'BAND_RESIDENCE_HEADCOUNT'],
['career', 'CAREER_HEADCOUNT'],
['french', 'FRENCH_HEADCOUNT'],
Expand Down

0 comments on commit 241fec8

Please sign in to comment.