We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4f53012 + 8e2d529 commit c8df320Copy full SHA for c8df320
1 file changed
app/models/immunisation_import_row.rb
@@ -672,7 +672,7 @@ def validate_batch_expiry
672
"must be less than 15 years in the future"
673
)
674
elsif date < EARLIEST_BATCH_EXPIRY
675
- errors.add(batch_expiry.header, "must be more than 15 years old")
+ errors.add(batch_expiry.header, "must be less than 15 years old")
676
end
677
else
678
errors.add(batch_expiry.header, "Enter a date in the correct format.")
0 commit comments