kosiakkatrina
8ffc5c6daf
Update rails to 7.2.2 ( #2856 )
...
* Update rails and puma
* Update factory bot, fixture_paths, lint and populate LAs for tests
* Remove enum deprecation warnings
* Fix prefic syntax
* Update paper_trail, add missing translations, lint
* Update some tests
* Update some more gems
* Update npm package
* Update Rails to 7.2.2.1
2 weeks ago
Manny Dinssa
df283a7a63
Bug fix ( #2866 )
2 weeks ago
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
Manny Dinssa
474ed4f348
CLDC-3344: Sales CSV download ecstat2 child label bug fix ( #2801 )
...
* Add missing answer option
* Update tests
* Allow user to change the age of a person if they're not actually under 16 without being blocked
* Update displayed answer options
* Add tests
* Fix lint
* Clear only when age is not known
* Lint
* Use existing method
* Update tests
* Revert changes in derived variables
* Update sales_log_spec.rb
3 weeks ago
Manny Dinssa
1b2100bc8f
CLDC-3093: Update content inconsistencies and typos ( #2846 )
...
* Update copy
* Update sale_information.en.yml
* Update sale_information.en.yml
* Fixes
* Update test
* Update test
* Update test
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
d3cd29e324
Remove wrong copy key ( #2810 )
1 month ago
kosiakkatrina
6c10172c78
CLDC-3755 Add 2025 shared ownership subsection ( #2782 )
...
* Add shared ownership initial purchase subsection
* Display correct subsection based on year
* Update some content
* Update LivingBeforePurchase routing
* Update routing and check for page existence in guidance
* Add management fee questions
* Only check the subsections relevant to the form
* Update content
* Update financial calculations text
1 month ago
Rachael Booth
542565ed85
Use subsection copy key ( #2792 )
...
* CLDC-3766: Ensure copy for Q78 is found correctly
* Fix tests
* Use subsection copy key in defaults and remove explit keys that are now defaults
* Replace other uses of subsection.id interpolation in copy keys
* Test copy key when specified on subsection
* Update tests
* Update privacy notice page tests
* More test fixes
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
502d038e9e
CLDC-3752: Sales - Hide questions if a staircasing transaction (25/26) ( #2780 )
...
* Do not ask questions from these sections when it's a staircase transaction
* Hide section/subsections from task list
* Add tests
* Fix lint
* Move logic to section model
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
Manny Dinssa
4dc323059f
CLDC-3738: Sales - Update household characteristics Q29 and Q38 (25/26) ( #2774 )
...
* Create 2025 versions of these questions
* Remove blank line
* Update copy and use 2025 version of question
* Add tests
* Update depends on
* Update question number
* Update test
* Remove depends_on companybuy which has been removed
* Fix lint
1 month ago
kosiakkatrina
6fb1384364
Remove mortgage lender questions for 2025 discounted sales ( #2784 )
1 month ago
Rachael Booth
aeae0c1806
CLDC-3766: Ensure copy for sales Q78 is found correctly for 2024 logs ( #2790 )
...
* CLDC-3766: Ensure copy for Q78 is found correctly
* Fix tests
1 month ago
Manny Dinssa
c8a36fd3a6
Move sales staircasing question ( #2777 )
...
* Change order
* Update test
2 months ago
kosiakkatrina
b87c107f25
Route only to buyer questions for staircase transactions ( #2765 )
2 months ago
kosiakkatrina
10de485408
CLDC-3698 Rename household needs to other household information for sales ( #2772 )
...
* Rename household needs occurences
* Rename files
2 months ago
Rachael Booth
8dab730c54
CLDC-3704: Allow equity/stairowned/stairbought to have 1 decimal place ( #2746 )
...
* CLDC-3666: Pull sales financial validations into translations file
* CLDC-3704: Allow equity/stairowned/stairbought to have 1 decimal place
* Fix lint for migration
* Fix tests
* Fix sale information validations tests
* Fix lint
* Fix form spec
* Don't expect unexpected cashdis error
2 months ago
kosiakkatrina
0083485b42
CLDC-3690 Extract lettings property validations copy ( #2742 )
...
* Extract lettings property validations copy
* Update uprn question
* Remove redundant validations (can't trigger them because on inferrance)
2 months ago
Rachael Booth
fbeaee9368
CLDC-3733: Adjust ordering for working situation question ( #2762 )
...
* CLDC-3733: Adjust ordering for working situation question
* Fix tests
2 months ago
Manny Dinssa
4886cdbe36
CLDC-3722: Sales - Remove from Q5 'outright or other sale' answer option (25/26) ( #2752 )
2 months ago
Manny Dinssa
1a07e37049
CLDC-3717: Sales - Remove Q9 (Is the buyer a company?) (25/26) ( #2755 )
2 months ago
Manny Dinssa
154f4d9538
CLDC-3721: Sales - Move Q78 (Is this a staircasing transaction?) to setup section (25/26) ( #2751 )
2 months ago
Manny Dinssa
3125171edf
CLDC-3718: Sales - Remove Q10 (Will any buyers live in the property?) (25/26) ( #2757 )
2 months ago
Rachael Booth
e2123f8b9d
CLDC-3736: Don't route to property building type or wheelchair accessibility for staircasing sales from 2025 ( #2761 )
...
* CLDC-3736: Don't route to property building type or wheelchair accessibility for staircasing sales from 2025
* Add tests for routed_to?
* Fix test
2 months ago
Rachael Booth
7d407ab4c6
CLDC-3739: Remove buyer orgs question from 2025 ( #2766 )
2 months ago
Manny Dinssa
30442fcee2
CLDC-3735: Sales - Move Q19 (What type of unit is the property?) (25/26) ( #2760 )
2 months ago
Manny Dinssa
b681b101f3
CLDC-3715: Sales - Remove Q8 (What is the type of outright sale?) (25/26) ( #2753 )
2 months ago
Rachael Booth
224e49825e
CLDC-3719: Move sale completion date question to start of setup section ( #2750 )
...
* CLDC-3716: Allow 25/26 form use on dev, review, and staging environments
* Remove empty line
* CLDC-3719: Move sale completion date question to start of setup section
* Fix test
* Update test fixture csv order
2 months ago
kosiakkatrina
020b8a4f4c
CLDC-3686 Extract lettings soft validations copy ( #2735 )
...
* Extract household characteristics soft validations
* Extract household needs soft validations
* Extract household situation soft validations
* Extract income and benefits soft validations
* Extract property information soft validations
* Update tests and 2024 soft validations
* Update some test forms
* Re-add sales validation
* Update BU tests
* Fixes
* Change higher to longer
* Update model test
* Update model test
* Add 2025 translations copied from 2024
* Update pregnancy and retirement copy
---------
Co-authored-by: Manny Dinssa <44172848+Dinssa@users.noreply.github.com>
Co-authored-by: Rachael Booth <rachael.booth@softwire.com>
2 months ago
Manny Dinssa
6fb29ade6b
CLDC-3712: Sales Form Updates ( #2756 )
2 months ago
Manny Dinssa
fa83f3abc2
CLDC-3685: Copy changes lettings income and benefits ( #2732 )
2 months ago
kosiakkatrina
51bc0cffeb
CLDC-3665 Extract sale information copy ( #2711 )
...
* Extract shared ownership copy
* Extract discounted ownership copy
* rename files
* CLDC-3665 Extract sale information soft validations (#2712 )
* Extract shared ownership copy
* Extract shared ownership soft validations
* Extract discounted ownership validations
* Fix mappings
* Update some translations
* Remove full stops
2 months ago
kosiakkatrina
3cda5adf5c
CLDC-3683 Extract lettings household situation copy ( #2730 )
...
* Extract lettings household situation copy
* Update wrong copy, remove duplicate keys
2 months ago
kosiakkatrina
625b0c757c
CLDC-3668 Extract guidance copy ( #2737 )
...
* Extract guidance copy
* Update tests and lint
2 months ago
Manny Dinssa
47928f3842
CLDC-3680: Copy changes lettings property information questions ( #2726 )
2 months ago
Manny Dinssa
f9922c1ba4
CLDC-3654: Copy changes - Sales property information questions ( #2694 )
2 months ago
kosiakkatrina
f2f44329f3
CLDC-3684 Extract lettings tenancy information copy ( #2731 )
...
* Extract lettings tenancy information copy
* Fix flaky merged schemes test
2 months ago
Rachael Booth
a00489b7d7
CLDC-3659: Pull sales household situation questions copy into translation file ( #2701 )
...
* CLDC-3659: Pull sales household situation questions copy into translation file
* Fix header->question_text
2 months ago
Rachael Booth
3424cbc550
CLDC-3366: Use single page for rent soft validation ( #2724 )
...
* CLDC-3366: Use single page for rent soft validation
* Fix tests
2 months ago
kosiakkatrina
ff3f789acc
CLDC-3681 Extract lettings household characteristics copy ( #2728 )
...
* Extract lettings household characteristics copy
* Update cya labels for age known
* Update missing keys and copy
2 months ago
kosiakkatrina
83877dae69
Extract lettings household needs copy ( #2729 )
2 months ago
Manny Dinssa
247b7f212f
CLDC-3679: Copy changes lettings setup questions ( #2723 )
2 months ago
kosiakkatrina
1ffc440342
CLDC-3656 Extract household characteristics question and page copy to translation files ( #2702 )
...
* Extract question and page copy to translation files
* Refactor 2 question pages
* Readd removed answer options
* Fix missing/wrong age mappings
* Update some pages/questions
* Update tests
* CLDC-3656 Extract household characteristics soft validations (#2707 )
* Extract retirement confirmation questions
* Extract old persons shared ownership confirmation questions
* Extract income confirmation questions
* Extract buyer live-in value check page and question copy to translation files
* Extract student not a child confirmation questions and page copy to translation files
* Extract partner under 16 value check page and question copy to translation files
* Extract partner under 16 value check page and question copy to translation files
* Update some missing/wrong keys
* Update some keys on 2023
* Update BU tests
2 months ago
kosiakkatrina
0799ff7a36
CLDC-3658 Extract household needs copy ( #2718 )
...
* Extract household needs subsection copy
* Extract housing needs soft validations copy
* Add new lines at the end of some files
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
ace6a599b0
CLDC-3664 Extract income and benefits copy ( #2709 )
...
* Refactor sales household pages and questions
* Refactor sales income and benefits soft validations
* Update subsection test
* Fix income copy keys
* Update subsection test
* Add missing question to translations
* Fix typo
* Add prevshared for 2024
2 months ago
Rachael Booth
731dcc9325
CLDC-3650: Move copy for sales setup section to translation files ( #2672 )
3 months ago