json.extract! ec_course_achievement_method, :id, :score, :percentage

json.course_evaluation do
  json.partial! 'ecs/course_evaluations/shared/ec_course_evaluation_only',
                ec_course_evaluation: ec_course_achievement_method.ec_course_evaluation
end

json.course_evaluation_subitems ec_course_achievement_method.ec_course_evaluation_subitems,
                                partial: 'ecs/shared/ec_course_evaluation_subitem', as: :ec_course_evaluation_subitem
