|
|
@ -79,7 +79,6 @@ class Form::Question |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
def completed?(case_log) |
|
|
|
def completed?(case_log) |
|
|
|
# Special case as No is a valid answer but doesn't let you progress and use the service |
|
|
|
|
|
|
|
return answer_options.keys.any? { |key| case_log[key] == "Yes" } if type == "checkbox" |
|
|
|
return answer_options.keys.any? { |key| case_log[key] == "Yes" } if type == "checkbox" |
|
|
|
|
|
|
|
|
|
|
|
case_log[id].present? || !case_log.respond_to?(id.to_sym) || has_inferred_display_value?(case_log) |
|
|
|
case_log[id].present? || !case_log.respond_to?(id.to_sym) || has_inferred_display_value?(case_log) |
|
|
|