fix: add pre-k to list of grades

rpp-main
Nelson Jovel 2 years ago
parent 1e560294e1
commit 9f83b3dae4

@ -0,0 +1,33 @@
# frozen_string_literal: true
module Analyze
module Graph
module Column
module Grade
class PK < GroupedBarColumnPresenter
include Analyze::Graph::Column::Grade::ScoreForGrade
include Analyze::Graph::Column::Grade::GradeCount
def label
%w[Pre-K]
end
def basis
"student"
end
def show_irrelevancy_message?
false
end
def show_insufficient_data_message?
false
end
def grade
-1
end
end
end
end
end
end

@ -34,6 +34,7 @@ module Analyze
end
CFR = {
-1 => PK,
0 => Zero,
1 => One,
2 => Two,
@ -51,3 +52,4 @@ module Analyze
end
end
end

Loading…
Cancel
Save