Browse Source

CLDC-4164: Apply £15,000 minimum validation to shared ownership purchase price

pull/3198/head
samyou-softwire 4 weeks ago
parent
commit
395ddb029e
  1. 2
      app/models/form/sales/questions/value.rb

2
app/models/form/sales/questions/value.rb

@ -4,7 +4,7 @@ class Form::Sales::Questions::Value < ::Form::Question
@id = "value"
@copy_key = form.start_year_2025_or_later? ? "sales.sale_information.value.#{page.id}" : "sales.sale_information.value"
@type = "numeric"
@min = 0
@min = form.start_year_2026_or_later? ? 15_000 : 0
@step = 1
@width = 5
@prefix = "£"

Loading…
Cancel
Save