kosiakkatrina
3856a175af
Add tolerance to soft validation ( #2240 )
10 months ago
Rachael Booth
49f3886a20
CLDC-3248: Ensure previous_la_known gets cleared if prevloc is when blanking invalid fields ( #2243 )
...
* CLDC-3248: Ensure previous_la_known gets cleared if prevloc is when blanking invalid fields
* CLDC-3248: Update tests around blank_invalid_non_setup_fields
10 months ago
Rachael Booth
a6424018fe
CLDC-3254: Update ordering for working situation question ( #2254 )
10 months ago
kosiakkatrina
e372ce7de1
Fix wheelchair question typo ( #2259 )
10 months ago
kosiakkatrina
f9ac59b860
CLDC-3186 Display reported by question ( #2228 )
...
* Remove feature toggle
* Remove merge organisatiions toggle
* Update managing org routing for 2024
* Update bulk upload
10 months ago
Rachael Booth
1bdcc767b5
CLDC-3227: Add validations to reasonother content ( #2236 )
...
* CLDC-3227: Add soft validation for reason other when it's likely a standard category
* CLDC-3227: Add hard validation for homeless indicators in other reason for leaving last settled home
* CLDC-3227: Update hard validation regex to ignore all non alphabet characters surrounding a match
* CLDC-3227: Add unit tests
* Refactor household validations spec to remove dependancy on fake 2021 form
* Add card number to question
* Move informative text to translations as well
* CLDC-3227: Allow neighbouring non-alphabet characters in soft validation check
* Remove debug lines
* Remove blank line
* Remove bonus whitespace
* Deal with appearance in csv export
* Only do regexp.union once
* Fix informative text in value check
10 months ago
natdeanlewissoftwire
b54286c5d0
CLDC-3144 Update ethnicity for 24/25 ( #2199 )
...
* feat: update header and test
* feat: update answers and hint for 24/25 and test
* feat: update tests
* refactor: lint
* feat: update buyer 2 as well
* refactor: lint
* refactor: lint
* Add new ethnic option to BU
---------
Co-authored-by: Kat <katrina@kosiak.co.uk>
10 months ago
kosiakkatrina
2cf55470d0
CLDC-3177 Validate staircasing mortgage ( #2239 )
...
* Validate staircasing mortgage
* Fix BU tests
10 months ago
kosiakkatrina
f266099e19
Update non staircasing mortgage validation ( #2238 )
10 months ago
natdeanlewissoftwire
3dcbdbe30a
CLDC-3148 Update disabled access needs for 24/25 ( #2183 )
...
* feat: add 2024 answer option and test
* feat: update validation
* feat: add validation tests
* refactor: lint
* refactor: typo
10 months ago
natdeanlewissoftwire
a96ae790f8
CLDC-3139 Update tenancy type questions for 24/25 ( #2214 )
...
* feat: update answer options and hint text for 24/25
* feat: update answer options and hint text, add new period tenancy length question and test
* feat: update tests
* feat: update tests
* feat: update tests
* Update header and CYA label
* Remove fixed term tenancy validation for periodic
* Validate periodic tenancy length
---------
Co-authored-by: Kat <katrina@kosiak.co.uk>
10 months ago
Rachael Booth
86614e6494
Fix: Ensure declaration doesn't use a separate check answers card in 2024 forms now it's in setup ( #2244 )
10 months ago
kosiakkatrina
d6eb053fd9
CLDC-3249 Clear invalidated earnings values ( #2242 )
...
* Clear invalidated earnings values
* Only run the earnings validation for 2023 onwards
10 months ago
Rachael Booth
d2c8c58c3e
CLDC-3168: Add Kent Reliance to mortgage lender options
10 months ago
natdeanlewissoftwire
3c539fcf83
CLDC-3155 Add accessible_register option and hint text for 24/25 ( #2187 )
...
* feat: add accessible_register option and hint text for 2024
* feat: update tests
* feat: update spec and schema
* refactor: lint
* feat: update row parser
* feat: update tests
* feat: update xml export
* feat: update xml export
* feat: revert xml export change
* feat: update tests
* feat: include schema update
11 months ago
Rachael Booth
f9583df08d
CLDC-3126: Update csv ordering to base on current form and consider subsection boundaries
11 months ago
Rachael Booth
2d83feadb4
CLDC-3126: Update privacy notice question wording
11 months ago
Rachael Booth
4508e776f2
CLDC-3126: Move privacy notice question
11 months ago
kosiakkatrina
ac16c74303
CLDC-3179 Update routing for previous postcode ( #2207 )
...
* Update routing for previous postcode
* Infer ppostcode_full for discounted sales
* Escape characters
* Update previous la routing
* Set prevloc
* Move postcode inferance
* Remove validation for 2024
* Update postgres in dockerfile
11 months ago
kosiakkatrina
cc8ba09b92
Update nationality hint text ( #2225 )
11 months ago
kosiakkatrina
ea1a7b7f54
CLDC-3176 Make deposit dynamically optional ( #2210 )
...
* Update optional hint text for deposit in 24/25
* Make deposit dynamically optional, update BU
* Refactor conditional page
* Add validation
11 months ago
natdeanlewissoftwire
39b6c4ddd8
CLDC-3135 Infer beds for 24/25 bedsits ( #2167 )
...
* feat: for 24/25 onwards, infer beds = 1 for bedsits, change hint text and remove validation
* feat: add tests
* feat: update bulk upload inferral
* feat: update tests
* refactor: rename file
* refactor: nest 2024 changes for future DRYness
* refactor: lint
11 months ago
kosiakkatrina
e4c63b3602
Update whellchair hint text ( #2226 )
11 months ago
kosiakkatrina
46aae6e774
Validate non staircasing mortgage value ( #2223 )
11 months ago
kosiakkatrina
140e55d313
CLDC-3184 Add value/discount validation ( #2222 )
...
* Add value/discount validation
* fix postcode field
11 months ago
Rachael Booth
3a81069bb5
CLDC-3143: Update hint text for gender questions for 2024 ( #2220 )
...
* CLDC-3143: Update hint text for gender questions for 2024
* Refactor ifs
11 months ago
Rachael Booth
9fdb4cee93
CLDC-3169: Infer soctenant from prevten / prevtenbuy2 ( #2200 )
...
* CLDC-3169: Infer soctentant from prevten
* Avoid default soctenant value
* Explicitly ensure soctenant nil for non shared ownership in bulk upload
* Fix linting
11 months ago
kosiakkatrina
7a9291dac9
CLDC-3172 Update routing for staircase transactions ( #2203 )
...
* Update routing for LaNominations
* Update routing for buyer previous
* Extract a method
* lint
11 months ago
kosiakkatrina
a3fb5313c0
CLDC-3175 Add max stairbought validation ( #2204 )
...
* Add max stairbought validation
* refactor tests
11 months ago
kosiakkatrina
5bcd677961
CLDC-3178 Update grant validation type ( #2209 )
...
* Remove soft grant validation for 2024 onwards
* Validate grant amount for 24/25 onwards
* Only run the hard validation for Social HomeBuy and RTA
* Fix soft validation
11 months ago
natdeanlewissoftwire
8ce222dcaa
CLDC-3151 Update reason for leaving for 24/25 ( #2192 )
...
* feat: update ansewrs, hint text and test
* refactor: lint
* refactor: save lines
11 months ago
natdeanlewissoftwire
5bf30c37c3
CLDC-3162 Update buyers living in property for 24/25 ( #2194 )
...
* feat: update header and test
* refactor: lint
* feat: update tests
11 months ago
kosiakkatrina
3c62e947b9
Update 2024 discount max ( #2213 )
11 months ago
kosiakkatrina
dc92466139
CLDC-3092 Update nationality question for 24/25 ( #2193 )
...
* Add new nationality columns
* Add nationality questions to lettings
* Add nationality questions to sales
* Infer nationality where appropriate
* Add synonyms
* Update csv exports
* Export nationality_all for 24/25
* Update prefers not to say value
* Set 24/25 nationality fields from BU
* Undo the export (there's a separate ticket)
* Correctly display answers
* Rebase fixes, tests and lint
* Set nationality from lettings BU 24/25
* Rename files, add synonyms and accents
* Fix sales csvs
* Extract constant
11 months ago
kosiakkatrina
5302889417
CLDC-3173 Add equity and staircase validation ( #2201 )
...
* Add equity and staircase validation
* Update BU tests
11 months ago
kosiakkatrina
44abe22ea9
CLDC-3183 Validate previous tenure for discounted sales ( #2206 )
...
* Validate previous tenure for discounted sales
* typo
11 months ago
Rachael Booth
7cffaca352
CLDC-3159: Move buyer interview question to setup section ( #2177 )
11 months ago
natdeanlewissoftwire
ed77dbe817
CLDC-3141 Update sheltered accommodation question for 24/25 ( #2169 )
...
* feat: update answer options and hint text, test and fix typo
* feat: update order
11 months ago
natdeanlewissoftwire
287a1caecc
feat: update hint text and test ( #2182 )
11 months ago
kosiakkatrina
869bb45438
CLDC-3174 Validate stairowned is not equal stairbought ( #2198 )
...
* Validate stairowned is not equal stairbought
* Update BU tests
* Update error message
11 months ago
kosiakkatrina
8f5acc55ce
CLDC-3164 Change discounted ownership value to hard validation ( #2176 )
...
* Move soft validation to hard for 2024
* Update a date on a test
* Update validation message
* Deduplicate validations
11 months ago
kosiakkatrina
b791d7be85
CLDC-3165 Update shared ownership validation ( #2184 )
...
* Do not trigger soft validation for 2024
* Add hard shared ownership deposit validation
* Remove irrelevant test
* Update validation message content
11 months ago
kosiakkatrina
6b1aeb4c7f
CLDC-2442 Add archived forms ( #2149 )
...
* Add archived forms to the form handler
* Remove archived form if the year after it is no longer editable
* Filter logs list by existing forms only
* Add archived_lettings if it's not defined in json
* Rebase changes
* Fix unrelated test
11 months ago
natdeanlewissoftwire
7dcbfb1341
CLDC-3228 Age validation update ( #2197 )
...
* feat: unrelated nil safe notifications tweak
* feat: update under 16 validations and copy
* feat: include person_num in error text
* feaT: update copy for relat
* feat: update tests
11 months ago
natdeanlewissoftwire
a4da39c498
feat: update answer options order and test ( #2189 )
11 months ago
kosiakkatrina
b50f7899f6
Only trigger savings validation if mortgage used ( #2180 )
11 months ago
natdeanlewissoftwire
beac7ffd22
feat: update hint text and test ( #2188 )
11 months ago
natdeanlewissoftwire
e8950071b8
CLDC-3150 Update time on waitlist for 24/25 ( #2186 )
...
* feat: update header and answers, and test
* refactor: lint
11 months ago
natdeanlewissoftwire
83492b10ca
feat: remove pages from 2024 and test ( #2191 )
11 months ago
natdeanlewissoftwire
92769036bd
feat: add answer option and test ( #2190 )
11 months ago