Browse Source

remove debug lines

pull/78/head
magicmilo 3 years ago
parent
commit
acfe2622e0
  1. 4
      app/helpers/check_answers_helper.rb

4
app/helpers/check_answers_helper.rb

@ -14,10 +14,7 @@ module CheckAnswersHelper
subsection_keys = form.pages_for_subsection(subsection).keys
page_name = subsection_keys.first
# binding.pry
while page_name.to_s != "check_answers" && subsection_keys.include?(page_name)
# binding.pry
questions = form.questions_for_page(page_name)
applicable_questions = filter_conditional_questions(questions, case_log)
total_questions = total_questions.merge(applicable_questions)
@ -55,7 +52,6 @@ module CheckAnswersHelper
end
def condition_not_met(case_log, question_key, question, condition)
# binding.pry
case question["type"]
when "numeric"
operator = condition[/[<>=]+/].to_sym

Loading…
Cancel
Save