kosiakkatrina
1c03a70fa2
CLDC-3769 Fix some check errors flows ( #2826 )
...
* Fix some check errors flows
* Only show check errors journey for question on different pages
* Update restore_error_field_values
3 weeks ago
Rachael Booth
f5e6529baa
CLDC-3314: Skip BU error for ownershipsch in validate_discounted_ownership_value ( #2837 )
4 weeks ago
Manny Dinssa
128ac5d57a
CLDC-3758: Sales - Add shared ownership staircasing transaction section ( #2788 )
...
* db migration, new sales log fields
* Add new staircasing transaction section
* Update tests
* Lint
* Add tests
* Use log methods
* Lint
* Update test
* Remove compact
* Change section display condition
* CLDC-3760: Sales - firststair and numstair staircasing questions validations (#2793 )
* Add validation to new questions firststair and numstair
* Remove page headers on single question page
* Remove page
* More useful page header
* Show don't know option from 2025 onwards
* Add page header to monthly rent only for the version with two questions on the page
* Remove page header staircase initial date only page
* Update displayed answer options
* Fix lint
* Updates after merge
* Update test
* Update tests
4 weeks ago
Rachael Booth
b3dca51216
CLDC-3753: Update soft income validations ( #2779 )
...
* CLDC-3753: Update soft income validations
* Update tests
* Fix linting
* Include reference to informative text translations copy
* Combine min and max checks for income based on ecstat
* Fixes
* Update tests
1 month ago
kosiakkatrina
671232daa9
CLDC-3734 Add LA in England validation for 2025 ( #2763 )
...
* Add LA in England validation for 2025
* Validate supported housing logs
* Add error message to the date
* Update error messages
* lint
* Fix error messages for date
* Update no address found soft validation
* Update validation messages
1 month ago
Manny Dinssa
bc1fe83750
CLDC-3757: Sales - Change values in validation check for Q84 (25/26) ( #2781 )
...
* Update 2025 version of validation check
* Update validation for 2025
* Put two if statements into one
* Different approach to comparing dates
* Alternative method to compare dates
* Update tests
1 month ago
kosiakkatrina
a3ce7e9f95
Update validation message ( #2783 )
1 month ago
kosiakkatrina
de1d28c27e
Increase soft max for old persons shared ownership savings ( #2778 )
1 month ago
kosiakkatrina
16393cf4ab
Trigger income error on uprn_selection ( #2771 )
2 months ago
Rachael Booth
2b629891fb
CLDC-3666: Pull sales financial validations into translations file ( #2716 )
2 months ago
Manny Dinssa
61eb0057f6
CLDC-3693: Extract shared validations ( #2744 )
...
* Extract lettings household validation from shared validations
* Extract lettings setup validation from shared validations
* Extract only shared validations
2 months ago
Manny Dinssa
6fb29ade6b
CLDC-3712: Sales Form Updates ( #2756 )
2 months ago
kosiakkatrina
9763013ac1
Extract sale information validations into a separate translations file ( #2699 )
2 months ago
kosiakkatrina
469211ce65
CLDC-3661 Update year format ( #2713 )
...
* Update year combo format
* lint
* Update tests and validations
* update model tests
* Update bu list year format
* Update test
2 months ago
kosiakkatrina
9bd3389c84
CLDC-3655 Extract property information validations ( #2700 )
...
* Extract property information validations
* Refactor possesive variable from errors
2 months ago
kosiakkatrina
443a19f42d
Update household validations ( #2708 )
2 months ago
Manny Dinssa
29a5889aa6
CLDC-3653 Copy changes - sales setup validations ( #2677 )
...
* Extract sales setup validations to translation file
2 months ago
Manny Dinssa
9b5110c175
Don't add error message to type twice ( #2626 )
4 months ago
kosiakkatrina
4690fb446e
CLDC-3595 Remove duplicate errors for check errors page ( #2560 )
...
* Remove duplicate errors for check errors page
* Remove unused line
* Format some missed errors correctly
4 months ago
kosiakkatrina
eb355d6829
Update equity validation for resale ( #2559 )
4 months ago
kosiakkatrina
459420d7ee
CLDC-3541 Update sales financial validations ( #2546 )
...
* CLDC-3569 Update social homebuy errors (#2541 )
* Split questions
* Update the error message
* Add guidance
* Add back the headers
* Refactor depends_on
* Refactor further
* CLDC-3569 Update missed errors (#2548 )
* Update some skipped error messages
* Remove repeating deposit question
* CLDC-3571 Discounted ownership validation (#2547 )
* Rename discount to deposit discount
* Split about price rtb questions
* Update error message
* Update guidance partial
* Fix top_guidance_partial method
* Split about_price_not_rtb
* Update guidance partial and validation
* Fix bulk upload test
* Update deposit routed_to and guidance
* Refactor guidance links into a helper (#2551 )
* Refactor guidance links into a helper
* Refactor discounted ownership guidance
* CLDC-3570 Validations all other shared ownership types (#2550 )
* Update "all other shared ownership" errors
* CLDC-3571 Update outright sale financial validations (#2549 )
* Update outright sale validation message
* Add outright sale guidance
* Update duplicate page id
* User guidance helper
* Fix up financial equations content (#2552 )
* Tweak shared ownership validation wording
* Add top_guidance_partial to missed shared ownership questions
* Update discounted ownership validation message when there's no grant
* Update discounted sale guidance and errors
* Lint and update test
* Update BU test
* Update test
* CLDC-3569 Update guidance for shared ownership without mortgage (#2562 )
* Update how we display errors for BU
* Update guidance for shared ownership
* Add header to mortgage used question
* Update shared ownership guidance
* Update spacing (#2569 )
* Fix spacing again (#2570 )
* Update discounted ownership guidance (#2582 )
* Update discounted ownership guidance
* Add top guidance partial to outright sale
* Update outright sale guidance content
* Update model test
---------
Co-authored-by: Manny Dinssa <44172848+Dinssa@users.noreply.github.com>
4 months ago
Arthur Campbell
5696e4b81e
Cldc 3452 remove dont know option from mortgage used when invalid ( #2470 )
...
* initial spec file refactor
remove create for build, extract form to own variable, remove non-valuable tests
run time from 0.29s to0.11s
* refactor to ensure that the questions ownershipsch instance variable and the value of ownershipsch on the log is the same in tests
* delete page test file which is not testing anything meaningful
* add error messages to the I18n yml
* update tests for the validations
* update validation logic
* update tests for the mortgage used question
* update the mortgage used question displayed answer options
* update bulk upload specs to reflect error message updates
* make use of brackets consistent within validation method
6 months ago
Rachael Booth
34faa74a6c
CLDC-3447: Allow decimal discount percentage and increased validation tolerance ( #2427 )
...
* CLDC-3447: Allow decimal discount percentage and increased validation tolerance
* Update tests to use decimal discount
* Disable extra borrowing soft validation for 2024 onwards
* CLDC-3447: Make tolerance inclusive
* Fix linting error
* Fix method call
* Only change strictness when discount is present
* Remove blank line
7 months ago
Rachael Booth
4baf0bcdfc
CLDC-3350: Add validation for mortgage+deposit for outright sales ( #2349 )
9 months ago
Robert Sullivan
6d7a319b4f
CLDC-3338: Add tolerance to discounted sale calculations ( #2333 )
...
* Rename method
* Update staircase/non staircase validations
* Add errors to type
* Remove validate_shared_ownership_deposit
* Don't add setup BU errors, deduplicate different sale type errors
* Add tolerance
* Reuse method
* Rename methods
* Skip type error completely in BU
* Update validation messages
* Update over tolerance method
* C:DC-3338: Add tolerance to grant calculations
---------
Co-authored-by: Kat <katrina@kosiak.co.uk>
9 months ago
kosiakkatrina
999a33e0f7
CLDC-3313 Update financial sale validations ( #2313 )
...
* Rename method
* Update staircase/non staircase validations
* Add errors to type
* Remove validate_shared_ownership_deposit
* Don't add setup BU errors, deduplicate different sale type errors
* Add tolerance
* Reuse method
* Rename methods
* Skip type error completely in BU
* Update validation messages
* Update over tolerance method
9 months ago
kosiakkatrina
5907502f21
CLDC-3146 Update household validations ( #2256 )
...
* Separate the validations, remove irrelevant tests
* Remove relevant lettings 2023 validations from 24
* Update validations for 2024 lettings
* Separate sales validations
* Infer child uner 16 for sales
* Update sales validations
* Update tests
* Add validations to all relevant fields
* Add a 2023 context
* Undo some 2024 validations
* Remove another validation, update test names
* Remove child option hint
* Update person age hint
* Add ecstat buyer validation
* Add custom ecstat BU errors
* Skip working situation for child in sales
* Add child under 16 validation to 2024, do not reset ecstat
* Add soft validation columns
* Add partner under 16 soft validation
* Add multiple partners soft validations
* Remove child option for buyer 2
* Update CSVs
* Check hhmemb exists
* refactor
* Display child option for lettings
* Remove wrong tests
* More tests
9 months ago
kosiakkatrina
aca9eb6301
CLDC-3300 Update BU mortgageused error ( #2310 )
...
* Don't allow don't know as 2023 mortgageused
* Don't allow don't know as 2023 mortgageused for discounted ownership
* Allow mortgageused don't know if stairowned 100
* Update row parser test
* Move mortgageused validations onto the log model
* Allor outright sale mortgageused 3, don't allow non staircaseing shared ownership mortgageused 3
* Rebase fix
10 months ago
Robert Sullivan
8693037132
CLDC-1944: Replace soft date validation with hard date validation for 2024 and allow dates before 2000 ( #2280 )
...
* CLDC-1944: Replace soft date validation with hard date validation for 2024 and allow dates before 2000 in cases of soft validation failure
10 months ago
kosiakkatrina
ff55bed2b2
CLDC-2220 Update buyer pluralisation ( #2272 )
...
* Pluralise buyer in household characteristics/setup
* Pluralise buyer in sales information sections
* Pluralise buyer in savings
* Pluralise other buyers, update privacy notice test
* Pluralise buyer in validations and translations
* Route to pages when joint purchase is not answered
* Fix apostrophes
* Update translations
* More updates
10 months ago
Rachael Booth
642b9cdaf2
CLDC-3264: Setup to allow using future form on staging for testing ( #2279 )
...
* CLDC-3264: Setup to allow using future form on staging for testing
* Update bulk upload year_spec tests
* Fix indentation
* Disable future form use on review apps for testing
* Move lettings startdate 14 day validation to enforce order
* Update tests
* Restore future form use on review apps
10 months ago
Rachael Booth
36553f4777
CLDC-1970: Use more relevant error message for shared ownership income below 0 ( #2270 )
10 months ago
kosiakkatrina
3856a175af
Add tolerance to soft validation ( #2240 )
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
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
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
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
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
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
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
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
kosiakkatrina
b50f7899f6
Only trigger savings validation if mortgage used ( #2180 )
11 months ago
kosiakkatrina
3eacbcb0d8
CLDC-2951 Display postcodes error on ownership type ( #2111 )
...
* Display postcodes error on ownership type
* Add error to uprn
12 months ago
natdeanlewissoftwire
283917bb83
Revert "CLDC-3031 Put merge validations behind feature toggle ( #2029 )" ( #2041 )
...
This reverts commit d30ade5e84
.
1 year ago