|
|
|
@ -162,7 +162,7 @@ private |
|
|
|
def validate_correct_template |
|
|
|
def validate_correct_template |
|
|
|
return if halt_validations? |
|
|
|
return if halt_validations? |
|
|
|
|
|
|
|
|
|
|
|
errors.add(:base, :wrong_template) unless csv_parser.correct_template_for_year? |
|
|
|
errors.add(:base, :wrong_template) if csv_parser.wrong_template_for_year? |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
def halt_validations! |
|
|
|
def halt_validations! |
|
|
|
|