Browse Source

CLDC-4298: Update purchase price step for 2026

CLDC-4298-fix-full-purchase-price-step
samyou-softwire 2 days ago
parent
commit
15f04f3672
  1. 2
      app/models/form/sales/questions/purchase_price.rb

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

@ -4,7 +4,7 @@ class Form::Sales::Questions::PurchasePrice < ::Form::Question
@id = "value"
@type = "numeric"
@min = form.start_year_2026_or_later? ? 15_000 : 0
@step = 0.01
@step = form.start_year_2026_or_later? ? 1 : 0.01 # 0.01 was a mistake that was fixed in 2026
@width = 5
@prefix = "£"
@ownership_sch = ownershipsch

Loading…
Cancel
Save