Browse Source

CLDC-4158: Add 2026 helper to forms

pull/3129/head
Samuel Young 1 month ago
parent
commit
deefccc597
  1. 4
      app/models/form.rb

4
app/models/form.rb

@ -353,4 +353,8 @@ class Form
def start_year_2025_or_later?
start_date && start_date.year >= 2025
end
def start_year_2026_or_later?
start_date && start_date.year >= 2026
end
end

Loading…
Cancel
Save